Qwen3.6-27B translated with TR Quantisation: its weights are stored as trits (ternary digits), on average 2.5 trits per weight,
each weight a small integer code on a symmetric grid of 9 or 27 levels with one 16-bit scale per group of 128 weights. No retraining
and no fine-tuning: the architecture, tokenizer and chat template are Qwen's. Served by vLLM 0.28.0 with the tritq-qwen36 plugin
(the same image as the 35B TR model), which adds the trit quantization method.
6a9e13bd), Apache-2.0, by the Qwen team.tritq-qwen36 (vLLM plugin + Docker image), github.com/ternii-ai/tritq-vllm.Smaller and faster to decode, with no significant accuracy difference from NVFP4 or from the BF16 original on the core benchmarks;
prompt processing is about half NVFP4's speed, and the per-user decode lead narrows as users are added. Speed: both models on the same
DGX Spark in one session; accuracy: one server per model on two DGX Sparks. Same vLLM 0.28.0 server settings, text only, thinking off;
NVIDIA's nvidia/Qwen3.6-27B-NVFP4 @ 0893e160 unmodified on stock vLLM 0.28.0. Details and caveats under Results.
| TR2.5-G | NVIDIA NVFP4 | ||
|---|---|---|---|
| Size: model in GPU memory as served (vLLM "model loading") | 16.90 GiB | 19.93 GiB | 15 % smaller |
| Speed: decode tokens/s, 1 user (community benchmark, median prompt; our image vs stock vLLM) | 40.5 | 31.0 | x1.31 |
| ... per user at 4 / 8 users (our benchmark) | 33.7 / 26.9 | 27.8 / 25.0 | x1.22 / x1.08 |
| ... all users together at 8 users | 142.2 | 124.7 | x1.14 |
| ... prompt processing, 2,048-token prompt | ~530 | ~1,044 | x0.51 (slower) |
| Accuracy: GSM8K | 92.49 | 92.57 | no significant difference |
| HumanEval+ (plus) | 89.02 | 91.46 | no significant difference |
| MBPP+ (plus) | 77.51 | 77.51 | no significant difference |
| IFEval (prompt strict) | 85.40 | 84.84 | no significant difference |
docker pull ghcr.io/ternii-ai/tritq-qwen36:0.2 && docker tag ghcr.io/ternii-ai/tritq-qwen36:0.2 tritq-qwen36:0.2
docker run --rm --gpus all --ipc=host --network host --ulimit memlock=-1 \
-v $HOME/.cache/huggingface:/root/.cache/huggingface \
-e TRITQ_DRAFT_HEAD=sparse \
tritq-qwen36:0.2 Ternii/Qwen3.6-27B-TR2.5-G --served-model-name tr27 \
--max-model-len 16384 --max-num-seqs 8 --gpu-memory-utilization 0.6 --kv-cache-dtype fp8 --language-model-only \
--speculative-config '{"method":"mtp","num_speculative_tokens":6}'
Then use any OpenAI-compatible client against http://localhost:8000/v1. Our benchmarks ran with thinking off
("chat_template_kwargs": {"enable_thinking": false}). The image's settings (Model Runner V2, confidence stop, draft head) are described
in the 35B TR model card and apply here too;
for multi-user serving the runtime suggests -e TQ_CSTOP= and "num_speculative_tokens":3 (measured on the 35B; not measured on this
model, whose 4- and 8-user figures below use the quick-start settings). TRITQ_DRAFT_HEAD=sparse (the image's default) drafts from a
reduced vocabulary and is the measured setting; TRITQ_DRAFT_HEAD=full uses 1.24 GiB less memory and decodes about 10 % slower for
one user (36.5 vs 40.5 tokens/s, measured on a second Spark). The sparse head was faster than the full head on every language we tried (English,
Chinese, Japanese, Russian, Korean: +3 to +10 %, per-stream means); the image's english head is slower than full outside English, so do not use it for
other languages.
| measured | notes | |
|---|---|---|
| Model in GPU memory as served (weights, MTP head, sparse draft head) | 16.90 GiB | NVIDIA's NVFP4 checkpoint: 19.93 GiB, same basis; 15.66 GiB with TRITQ_DRAFT_HEAD=full |
Download (the files listed in SHA256SUMS) |
16.31 GB (16,313,888,779 bytes) | |
| Tested on | NVIDIA DGX Spark (GB10, 128 GB unified memory), CUDA 13.0, one GPU | other GPUs untested |
Measured on the released files with the quick-start settings (sparse draft head), vLLM 0.28.0, thinking off. Speed (2026-11-06): both models on the same DGX Spark in one session, servers alternated TR, NVFP4, TR, NVFP4; figures are the mean of the two servers per model. Accuracy: one server per model, on two DGX Sparks (NVFP4 and the original 2026-11-05, TR 2026-11-06).
Speed (English and code prompts). Decode tokens/s per user stream unless stated. "Median prompt" is the community single-Spark
benchmark (tonyd2wild bench_categories.py @6ad1c8f: 40 short English prompts in 8 categories, greedy, figure = median prompt, mean
of 3 runs); "our benchmark" is 8 English/code prompts x 2 repeats, up to 512 tokens.
| median prompt, 1 user | median prompt, 6 users | ours, 1 / 4 / 8 users | ours, all users together at 4 / 8 | prompt processing, 2,048 tokens | |
|---|---|---|---|---|---|
| TR2.5-G | 40.5 | 31.4 | 40.5 / 33.7 / 26.9 | 80.3 / 142.2 | 530 |
| NVIDIA NVFP4 checkpoint, stock vLLM 0.28.0, MTP-3 | 31.0 | 27.6 | 31.3 / 27.8 / 25.0 | 71.9 / 124.7 | 1,044 |
| ratio | x1.31 | x1.14 | x1.29 / x1.22 / x1.08 | x1.12 / x1.14 | x0.51 |
Accuracy (greedy, thinking off; full test sets; one server per model; paired exact McNemar test item by item, Holm-corrected over all comparisons run):
| GSM8K (1,319) | HumanEval+ base / plus (164) | MBPP+ base / plus (378) | IFEval prompt strict / loose (541) | |
|---|---|---|---|---|
| TR2.5-G | 92.49 | 92.07 / 89.02 | 91.80 / 77.51 | 85.40 / 88.54 |
| NVIDIA NVFP4 checkpoint | 92.57 | 95.12 / 91.46 | 92.06 / 77.51 | 84.84 / 88.17 |
| Original (BF16, stock vLLM 0.28.0, MTP-3) | 92.72 | 94.51 / 91.46 | 93.39 / 78.04 | 84.10 / 87.80 |
gsm8k_cot_llama, 0-shot chat, strict "The final answer is" match. HumanEval+ / MBPP+: evalplus. IFEval: lm-eval.Comparator and method. NVIDIA's checkpoint: nvidia/Qwen3.6-27B-NVFP4 @ 0893e160, unmodified, on stock vLLM 0.28.0, with
identical server settings (max-model-len 16384, 8 sequences, GPU memory 0.6, FP8 KV cache, text only). Harness and
scripts: github.com/ternii-ai/tritq-vllm/tree/main/runtime/bench.
The publisher's BF16 weights are translated, not retrained: choose how many trits each part of the model needs from measured sensitivity; round every weight to a k-trit code with a calibrated method (GPTQ); pack the codes; then gate the result (every packed matrix read back bit for bit, drift against the original, benchmarks against the original and NVFP4). Norms and a few small tensors keep their original precision. The calibration procedure and the allocation procedure are not published.
This model is a post-training trit translation of Qwen/Qwen3.6-27B (revision 6a9e13bd) by
the Qwen Team, Alibaba Cloud, and is distributed under the Apache License 2.0 (see LICENSE, which is Qwen's file, and NOTICE).
The weight files have been modified by Wai Chung; no training was performed. Calibration prompts were drawn from NVIDIA's
OpenCodeInstruct (CC BY 4.0) and the MATH and GSM8K training sets (MIT); see NOTICE. This is not an official Qwen release and is not
endorsed by Alibaba Cloud.
The runtime credits vLLM pull requests #60068 (confidence stop, Apache-2.0, by @stecasta, via salient-data/qwen38-next-dgx-recipe patch 0010) and #59740 (sparse draft head algorithm, reimplemented); see the runtime's NOTICE.
Trademarks. Qwen is a trademark of Alibaba Cloud / Alibaba Group. NVIDIA, DGX, DGX Spark and CUDA are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries. Other names are the property of their respective owners. They are used only to identify the products we compare with or run on. This project is independent and is not affiliated with, sponsored or endorsed by Alibaba, NVIDIA or Hugging Face. "NVFP4" names NVIDIA's 4-bit format and NVIDIA's published checkpoints in it.
hello@ternii.com (questions, bug reports, licence and takedown requests).
| file | size (bytes) | sha256 |
|---|---|---|
model-00001.safetensors … model-00065.safetensors (65 shards) |
16,313,888,779 for the whole repo | one line per file in SHA256SUMS |
config.json |
14,768 | 803f8901f280cad82b29cfce2b73c3cb7b60602f3c9f364bd34ed443daa3c9ff |
| tokenizer, chat template and processor files | as in the base model | byte-identical to Qwen/Qwen3.6-27B @ 6a9e13bd; listed in SHA256SUMS |
Check a download with sha256sum -c SHA256SUMS from inside the folder.
model-00001.safetensors 3.8 GBmodel-00035.safetensors 216 MBmodel-00040.safetensors 216 MBmodel-00043.safetensors 216 MBmodel-00044.safetensors 216 MBmodel-00047.safetensors 216 MBmodel-00048.safetensors 216 MBmodel-00050.safetensors 216 MBmodel-00051.safetensors 216 MBmodel-00026.safetensors 212 MBmodel-00042.safetensors 212 MBmodel-00022.safetensors 205 MBmodel-00023.safetensors 205 MBmodel-00024.safetensors 205 MBmodel-00027.safetensors 205 MBmodel-00028.safetensors 205 MBmodel-00030.safetensors 205 MBmodel-00031.safetensors 205 MBmodel-00032.safetensors 205 MBmodel-00034.safetensors 205 MBmodel-00036.safetensors 205 MBmodel-00038.safetensors 205 MBmodel-00039.safetensors 205 MBmodel-00046.safetensors 205 MBmodel-00054.safetensors 205 MBmodel-00055.safetensors 205 MBmodel-00058.safetensors 205 MBmodel-00059.safetensors 205 MBmodel-00010.safetensors 205 MBmodel-00011.safetensors 205 MBmodel-00021.safetensors 202 MBmodel-00025.safetensors 202 MBmodel-00029.safetensors 202 MBmodel-00033.safetensors 202 MBmodel-00037.safetensors 202 MBmodel-00041.safetensors 202 MBmodel-00045.safetensors 202 MBmodel-00049.safetensors 202 MBmodel-00053.safetensors 202 MBmodel-00057.safetensors 202 MBmodel-00052.safetensors 198 MBmodel-00009.safetensors 194 MBmodel-00012.safetensors 187 MBmodel-00014.safetensors 187 MBmodel-00015.safetensors 187 MBmodel-00016.safetensors 187 MBmodel-00018.safetensors 187 MBmodel-00019.safetensors 187 MBmodel-00020.safetensors 187 MBmodel-00056.safetensors 187 MBmodel-00060.safetensors 187 MBmodel-00062.safetensors 187 MBmodel-00017.safetensors 184 MBmodel-00061.safetensors 184 MBmodel-00013.safetensors 177 MBmodel-00063.safetensors 169 MBmodel-00064.safetensors 169 MBmodel-00004.safetensors 169 MBmodel-00007.safetensors 169 MBmodel-00008.safetensors 169 MBmodel-00065.safetensors 165 MBmodel-00002.safetensors 163 MBmodel-00003.safetensors 163 MBmodel-00006.safetensors 163 MBmodel-00005.safetensors 159 MB有文件?提交种子。
提交种子Qwen/Qwen3.6-27B