Qwen3.6-35B-A3B-TinyKV (Qwen3.6-35B-A3B with a 2.5×
smaller KV cache from retraining only its 10 full-attention layers) on top of Qwen's official FP8 checkpoint (block-wise FP8 weights): the quantized shards are
Qwen/Qwen3.6-35B-A3B-FP8's, unchanged; the 10 converted attention layers come from
tinykv-patch.safetensors in bf16, and the quantization config leaves exactly those layers unquantized.
Target: Ada / Hopper / Blackwell GPUs (FP8); weights ~37 GB.
pip install vllm==0.32.0
hf download darioooooo0o/Qwen3.6-35B-A3B-TinyKV-FP8 --include "plugin/*" --local-dir . && pip install ./plugin # registers the TinyKV architecture
vllm serve darioooooo0o/Qwen3.6-35B-A3B-TinyKV-FP8 --max-model-len 131072 --gpu-memory-utilization 0.9 --limit-mm-per-prompt '{"image":0,"video":0}'
Single GPU (the plugin has no tensor parallel yet), text only (the vision tower is unchanged but untested).
vLLM 0.32.0 on one RTX PRO 6000 (96 GB), gpu_memory_utilization=0.85, max_model_len=32768, next to the same base
checkpoint without TinyKV:
| TinyKV-FP8 | stock FP8 | |
|---|---|---|
| KV cache capacity | 4.72M tokens | 1.98M tokens (2.38×) |
| 30k needles, 32 near-identical decoys | 24/24 (logp -0.409) | 24/24 (logp -0.322) |
| mean |Δ log p| vs its bf16 reference | 0.0642 vs PyTorch TinyKV | 0.1169 vs PyTorch Qwen3.6 |
The last row is the quantization noise of each: per-token log-prob difference on 4 held-out 1k-token prompts against the unquantized model in PyTorch. For reference, bf16 TinyKV in vLLM is at 0.0478 and holds 1.59M tokens at the same settings (stock bf16: 0.66M). Greedy answer to "Explain in three sentences why the sky is blue.": "Sunlight appears white but is actually composed of all colors of the rainbow, which travel as waves of different lengths. As this light enters Earth's atmospher…"
See the main model card for how the conversion works, the training recipe and the full quality tables. GGUFs: Qwen3.6-35B-A3B-TinyKV-GGUF.
Made by @imdariotoo. I post my local-model releases on X, so follow there for the next ones.
Quantized base: Qwen/Qwen3.6-35B-A3B-FP8. Training, evaluation and these checks ran on CloudRift RTX PRO 6000 GPUs, provided through their AI Builder Grant. Thanks to CloudRift for the compute.
Apache-2.0, as the base model (Qwen/Qwen3.6-35B-A3B) and the quantized base.
outside.safetensors 2.9 GBlayers-10.safetensors 844 MBlayers-12.safetensors 844 MBlayers-13.safetensors 844 MBlayers-14.safetensors 844 MBlayers-16.safetensors 844 MBlayers-17.safetensors 844 MBlayers-18.safetensors 844 MBlayers-20.safetensors 844 MBlayers-21.safetensors 844 MBlayers-22.safetensors 844 MBlayers-24.safetensors 844 MBlayers-25.safetensors 844 MBlayers-26.safetensors 844 MBlayers-28.safetensors 844 MBlayers-29.safetensors 844 MBlayers-30.safetensors 844 MBlayers-32.safetensors 844 MBlayers-33.safetensors 844 MBlayers-34.safetensors 844 MBlayers-36.safetensors 844 MBlayers-37.safetensors 844 MBlayers-38.safetensors 844 MBlayers-0.safetensors 844 MBlayers-1.safetensors 844 MBlayers-2.safetensors 844 MBlayers-4.safetensors 844 MBlayers-5.safetensors 844 MBlayers-6.safetensors 844 MBlayers-8.safetensors 844 MBlayers-9.safetensors 844 MBlayers-11.safetensors 837 MBlayers-15.safetensors 837 MBlayers-19.safetensors 837 MBlayers-23.safetensors 837 MBlayers-27.safetensors 837 MBlayers-31.safetensors 837 MBlayers-35.safetensors 837 MBlayers-39.safetensors 837 MBlayers-3.safetensors 837 MBlayers-7.safetensors 837 MBtinykv-patch.safetensors 560 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 darioooooo0o/Qwen3.6-35B-A3B-TinyKV-FP8 ./model-folderdarioooooo0o/Qwen3.6-35B-A3B-TinyKV