Qwen3.6-35B-A3B translated with TR Quantisation: its weights are stored as trits (ternary digits), on average 2.25 trits per
weight, each weight a small integer code on a symmetric grid of 9, 27 or 81 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, which adds the trit quantization method.
995ad96e), Apache-2.0, by the Qwen team.tritq-qwen36 (vLLM plugin + Docker image), github.com/ternii-ai/tritq-vllm. Mac and llama.cpp: see
Ternii/Qwen3.6-35B-A3B-TR2.25-G-GGUF.Smaller, faster to decode, and no significant accuracy difference on the core benchmarks; prompt processing is slower (x0.65) and
multilingual maths (MGSM) is significantly lower. Same DGX Spark, same vLLM 0.28.0 server settings, text only, thinking off; NVIDIA's nvidia/Qwen3.6-35B-A3B-NVFP4 @ 1355db6a unmodified. Details and caveats under Results.
| TR2.25-G | NVIDIA NVFP4 | ||
|---|---|---|---|
| Size: weights in GPU memory | 16.09 GiB | 19.55 GiB | 18 % smaller |
| ... as served, with the MTP and draft heads | 17.43 GiB | 21.13 GiB | about 18 % smaller |
| Speed: decode tokens/s, 1 user (community benchmark, median prompt; our image vs stock vLLM) | 180.9 | 128.0 | x1.41 |
| ... per user at 4 / 8 users (long answers) | 82.4 / 54.1 | 70.5 / 49.6 | x1.17 / x1.09 |
| ... prompt processing, 2,048-token prompt | ~3.4k | ~5.2k | x0.65 (slower) |
| Accuracy: GSM8K | 90.83 | 91.10 | no significant difference |
| HumanEval+ (plus) | 88.41 | 89.02 | no significant difference |
| MBPP+ (plus) | 76.72 | 76.19 | no significant difference |
| IFEval (prompt strict) | 82.62 | 84.29 | no significant difference |
| MMLU-Pro | 77.7 | 77.3 | no significant difference |
| BFCL v4 function calling | 81.5 | 79.2 | TR ahead, from one category (declining irrelevant calls); one TR server; NVFP4 pooled from several server sessions, run on different days |
| MGSM, multilingual maths (11 languages) | 81.9 | 84.2 | TR significantly lower (largest in Bengali) |
docker pull ghcr.io/ternii-ai/tritq-qwen36:0.2 && docker tag ghcr.io/ternii-ai/tritq-qwen36:0.2 tritq-qwen36:0.2
# or build it: git clone https://github.com/ternii-ai/tritq-vllm && cd tritq-vllm/runtime &&
# docker build -f docker/Dockerfile.qwen36-vllm028 -t tritq-qwen36:0.2 .
docker run --rm --gpus all --ipc=host --network host --ulimit memlock=-1 \
-v $HOME/.cache/huggingface:/root/.cache/huggingface \
tritq-qwen36:0.2 Ternii/Qwen3.6-35B-A3B-TR2.25-G --served-model-name tr35 \
--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}).
What the image turns on (release configuration):
| setting | default | how to change |
|---|---|---|
| vLLM Model Runner V2 | on (VLLM_USE_V2_MODEL_RUNNER=1) |
-e VLLM_USE_V2_MODEL_RUNNER=0 |
| MTP speculative decoding with a confidence stop | on (TQ_CSTOP=0.7,3): with one request decoding, draft up to num_speculative_tokens (6) and stop when the drafter's top-1 probability falls below 0.7; with two or more, draft 3 |
multi-user serving: -e TQ_CSTOP= and "num_speculative_tokens":3 (the stop costs ~2 % per stream at 4-8 users) |
| draft head | sparse, all languages (TRITQ_DRAFT_HEAD=sparse) |
-e TRITQ_DRAFT_HEAD=english (first 100,000 vocabulary rows: fastest on English and code, slower on other languages) or full |
The full model verifies every draft with the full vocabulary, so the draft head is chosen for speed. It is not output-neutral, though: with the confidence stop on (the default), the drafts decide how many tokens are verified per step, which changes floating-point rounding, so the draft head and the stop can change the greedy text on some prompts (accuracy measured below).
| measured | notes | |
|---|---|---|
| Weights in GPU memory (vLLM, text model, MTP head excluded) | 16.09 GiB | NVIDIA's NVFP4 checkpoint: 19.55 GiB, same basis |
| ... with the MTP head and the English-and-code draft head | 16.99 GiB | NVFP4: 21.13 GiB (-20 %); the sparse draft head adds 0.44 GiB (17.43 GiB) |
| Practical at 8 users x 16k context | ~19.9 GiB (calculated, not measured) | KV cache in FP8 |
Download (the files listed in SHA256SUMS) |
18.01 GB (18,006,212,924 bytes) | |
| Tested on | NVIDIA DGX Spark (GB10, 128 GB unified memory), CUDA 13.0, one GPU | other GPUs untested; a 24 GB card should hold the weights but this was not measured |
Measured on the released files, one DGX Spark, vLLM 0.28.0, thinking off. Speed and the GSM8K / HumanEval+ / MBPP+ accuracy: two servers per arm started in interleaved opposite order, same session; IFEval: one server per arm. MGSM, BFCL, MMLU-Pro and RULER: separate sessions (noted under each). Every number was recomputed from the raw files by an independent reviewer.
Speed (English and code prompts). Decode tokens/s per user stream. "Median prompt" is the community single-Spark benchmark
(tonyd2wild bench_categories.py @6ad1c8f: 40 short English prompts in 8 categories, greedy, figure = median prompt, median of 3 runs);
"long answers" is our benchmark (8 English/code prompts x 2 repeats, up to 512 tokens).
| median prompt, 1 user | token-weighted, 1 user | long answers, 1 user | long answers, 4 users | long answers, 8 users | |
|---|---|---|---|---|---|
| TR2.25-G, release default (all-language draft head) | 180.9 | 155.2 | 164.6 | 82.4 | 54.1 |
| TR2.25-G, English-and-code draft head | 189.5 | 159.2 | 168.0 | 85.5 | 55.9 |
| NVIDIA NVFP4 checkpoint, stock vLLM 0.28.0, MTP-3 | 128.0 | 111.5 | 120.0 | 70.5 | 49.6 |
| ratio, release default / NVFP4 | x1.41 | x1.39 | x1.37 | x1.17 | x1.09 |
| ratio, English-and-code head / NVFP4 | x1.48 | x1.43 | x1.40 | x1.21 | x1.13 |
| NVIDIA NVFP4 with the same two engine options (Model Runner V2 + confidence stop; its full-vocabulary draft head) | 138.6 | 120.4 | 126.3 | 70.8 | 49.1 |
| ratio, release default / that | x1.31 | x1.29 | x1.30 | x1.16 | x1.10 |
Accuracy (greedy, thinking off, max 1,024 new tokens; full test sets; mean of two servers, paired exact McNemar test item by item on one server pair, Holm-corrected over 16 comparisons):
| GSM8K (1,319) | HumanEval+ base / plus (164) | MBPP+ base / plus (378) | IFEval prompt strict / loose (541) | |
|---|---|---|---|---|
| TR2.25-G, release configuration | 90.83 | 92.07 / 88.41 | 91.01 / 76.72 | 82.62 / 85.77 |
| NVIDIA NVFP4 checkpoint | 91.10 | 92.68 / 89.02 | 89.81 / 76.19 | 84.29 / 87.62 |
| Original (BF16) | 90.75 | 92.68 / 89.02 | 90.74 / 76.46 | not run |
gsm8k_cot_llama, 0-shot chat, strict "The final answer is" match (about 4.6 points below a numeric-equal reading
for every model alike). HumanEval+ / MBPP+: evalplus 0.3.1. IFEval: lm-eval 0.4.13. Not comparable with the 400-item GSM8K figures
below.Comparator and method. NVIDIA's checkpoint: nvidia/Qwen3.6-35B-A3B-NVFP4 @ 1355db6a, 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). Routers, 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-35B-A3B (revision
995ad96e) 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. Mac, MacBook Pro and Metal are trademarks of Apple Inc., registered in the U.S. and other countries and regions. 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, Apple 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-00041.safetensors (41 shards) |
18,006,212,924 for the whole repo | one line per file in SHA256SUMS |
config.json |
13,545 | 80f88de6557a328104f66483c3385baacecb0ec0c0368b55e3ee56e5c55b7484 |
| tokenizer, chat template and processor files | as in the base model | byte-identical to Qwen/Qwen3.6-35B-A3B @ 995ad96e; listed in SHA256SUMS |
Check a download with sha256sum -c SHA256SUMS from inside the folder.
model-00001.safetensors 2.1 GBmodel-00014.safetensors 419 MBmodel-00015.safetensors 419 MBmodel-00018.safetensors 419 MBmodel-00019.safetensors 419 MBmodel-00020.safetensors 419 MBmodel-00022.safetensors 419 MBmodel-00023.safetensors 419 MBmodel-00024.safetensors 419 MBmodel-00026.safetensors 419 MBmodel-00027.safetensors 419 MBmodel-00028.safetensors 419 MBmodel-00030.safetensors 419 MBmodel-00031.safetensors 419 MBmodel-00032.safetensors 419 MBmodel-00034.safetensors 419 MBmodel-00035.safetensors 419 MBmodel-00038.safetensors 419 MBmodel-00012.safetensors 417 MBmodel-00016.safetensors 417 MBmodel-00037.safetensors 415 MBmodel-00013.safetensors 411 MBmodel-00017.safetensors 411 MBmodel-00021.safetensors 411 MBmodel-00025.safetensors 411 MBmodel-00029.safetensors 411 MBmodel-00033.safetensors 411 MBmodel-00036.safetensors 364 MBmodel-00004.safetensors 364 MBmodel-00006.safetensors 364 MBmodel-00010.safetensors 364 MBmodel-00011.safetensors 364 MBmodel-00039.safetensors 364 MBmodel-00040.safetensors 364 MBmodel-00007.safetensors 363 MBmodel-00008.safetensors 362 MBmodel-00003.safetensors 361 MBmodel-00002.safetensors 359 MBmodel-00005.safetensors 357 MBmodel-00009.safetensors 356 MBmodel-00041.safetensors 356 MBHave the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo Ternii/Qwen3.6-35B-A3B-TR2.25-G ./model-folderQwen/Qwen3.6-35B-A3B