Qwen3.6-27B Claude-Opus-Reasoning-Distilled — MTP Draft Head
This is not a standalone model.
This repo contains multiple quantizations of the MTP draft head (Q2_K to Q8_0).
Each file must be loaded alongside a compatible main model via--model-draft.
The MTP draft head enables self-speculative decoding: llama.cpp generates candidate tokens from this lightweight block, then verifies them against the main model in a single forward pass. Accepted tokens are "free" — yielding +40% decode throughput with no quality loss.
What's inside
| Tensor | Shape | Q2_K | Q3_K_M | Q4_K_M |
|---|---|---|---|---|
token_embd.weight |
248320 × 5120 | Q2_K | Q3_K | Q4_K |
output.weight (LM head) |
248320 × 5120 | Q6_K | Q6_K | Q6_K |
output_norm.weight |
5120 | F32 | F32 | F32 |
blk.64.attn_q.weight |
5120 × 12288 | Q2_K | Q3_K | Q4_K |
blk.64.attn_k.weight |
5120 × 1024 | Q2_K | Q3_K | Q4_K |
blk.64.attn_v.weight |
5120 × 1024 | Q4_K | Q5_K | Q6_K |
blk.64.attn_output.weight |
6144 × 5120 | Q3_K | Q4_K | Q4_K |
blk.64.ffn_gate.weight |
5120 × 17408 | Q2_K | Q3_K | Q4_K |
blk.64.ffn_up.weight |
5120 × 17408 | Q2_K | Q3_K | Q4_K |
blk.64.ffn_down.weight |
17408 × 5120 | Q3_K | Q5_K | Q6_K |
blk.64.nextn.eh_proj.weight |
10240 × 5120 | Q2_K | Q3_K | Q4_K |
blk.64.nextn.{enorm,hnorm,shared_head_norm} |
5120 | F32 | F32 | F32 |
blk.64.{attn_norm,attn_{k,q}_norm,post_attn_norm} |
— | F32 | F32 | F32 |
output.weight(LM head) is pinned at Q6_K across all variants — llama-quantize protects critical output tensors automatically.attn_vandffn_downalso scale up relative to the nominal quant level.
- Architecture:
qwen35— 64 main transformer blocks + 1 MTP block (blk.64, 0-indexed),nextn_predict_layers=1 - Converted with:
convert_hf_to_gguf.py --mtp(llama.cpp b9245) - Quantized with:
llama-quantize(Q2_K / Q3_K_M / Q4_K_M) - Total tensors: 17 (per file)
Compatible main models
This draft head is built from the same distillation checkpoint. It works with any GGUF quantization of Qwen3.6-27B-Claude-Opus-Reasoning-Distilled, including:
UD-Q4_K_XL(DAXZEIT, with or without RA variants)Q5_K_XL,Q6_K,Q8_0, or any other quant of the same base weights
It will not work with vanilla Qwen3.6-27B or other fine-tunes. The MTP block's projection weights (blk.64.nextn.eh_proj) and shared head norm were trained against the specific hidden-state distributions of this distillation checkpoint. Any divergence in the base weights — including vanilla Qwen3.6-27B or other fine-tunes derived from it — will cause mis-predicted drafts, collapsing the acceptance rate to near zero.
Requirements
- llama.cpp ≥ b9245 (MTP inference merged 2026-05-16, PR #22673 + #23269)
- A compatible main model GGUF (not included — see above)
- Both main model and draft head must be loaded on GPU (
--n-gpu-layers/--n-gpu-layers-draft)
Usage
llama-server \
--model <your-main-model>.gguf \
--model-draft Qwen3.6-27B-Claude-Opus-Reasoning-Distilled-mtp-Q4_K_M.gguf \
--mmproj <your-mmproj>.gguf \
--n-gpu-layers 65 \
--n-gpu-layers-draft 65 \
--ctx-size 120000 \
--cache-type-k q4_0 --cache-type-v q4_0 \
--batch-size 512 --ubatch-size 512 \
--rope-freq-base 10000000 \
--parallel 1 \
--slots \
--jinja \
--flash-attn auto \
--image-min-tokens 1024 \
--cache-ram 8192 \
--spec-type draft-mtp \
--spec-draft-n-max 3 \
--spec-draft-n-min 1
Conservative defaults:
--spec-draft-n-min 1 --spec-draft-n-max 3is a safe starting point. If your acceptance rate is high (visible in logs), try--spec-draft-n-max 4or5for additional throughput gains. Lower acceptance rate (e.g. long reasoning chains with high entropy) may benefit from dropping to--spec-draft-n-max 2.
VRAM budget (RTX 3090 24 GB example)
| Component | VRAM |
|---|---|
| Main model (UD-Q4_K_XL, 5.47 BPW) | ~17.1 GB |
| MTP draft head (Q4_K_M) | ~1.9 GB |
| MMProj (Q8_0, vision) | ~0.6 GB |
| KV cache (q4_0, 120K ctx) | ~3.6 GB |
| Total | ~23.2 GB |
If OOM: reduce
--ctx-size— this is the main lever. Going from 120K to 80K ctx frees ~1.5–2 GB.
Do not set--n-gpu-layers-draft 0— running the draft head on CPU eliminates the speed gain entirely and makes MTP pointless.
Performance (RTX 3090 24 GB)
Tested with RA1 main model (UD-Q4_K_XL), 120K context, q4_0 KV cache:
| Mode | tok/s |
|---|---|
| No speculation (raw) | 38 |
| ngram-mod | ~40 |
| draft-mtp Q4_K_M | 53–57 |
Quantization benchmark (draft head only)
Fixed prompt, temperature 0, 400 tokens, 3 runs — measured 2026-05-20 on RTX 3090:
| Variant | tok/s | Acceptance rate | Size | |
|---|---|---|---|---|
| Q2_K | 53.3 | 55.3% | 1.5 GB | |
| Q3_K_M | 58.0 | 63.5% | 1.7 GB | |
| Q4_K_M ⭐ | 60.2 | 66.6% | 1.9 GB | recommended |
| Q5_K_M | 59.8 | 66.6% | 2.1 GB | not recommended |
| Q8_0 | 59.1 | 66.4% | 3.0 GB | even less recommended |
Q4_K_M is the sweet spot — the acceptance rate ceiling is reached at Q4_K_M (66.6%). Q5_K_M and Q8_0 are strictly identical in acceptance rate at +200 MB and +1.1 GB respectively, with no measurable gain. Q3_K_M is a viable alternative if VRAM is tight (−3% acceptance, −200 MB). Q2_K shows meaningful degradation (−11 points).
Note: Acceptance rate may be lower than with vanilla Qwen3.6-27B due to the distillation.
About the distillation
The base weights were distilled from Claude Opus reasoning traces using process supervision on chain-of-thought sequences. The MTP block (mtp_num_hidden_layers: 1) was preserved as-is from the source checkpoint.
License
Apache 2.0 (inherited from Qwen3.6-27B base model).
Quantized by DAXZEIT — RTX 3090 24 GB