Views
No views yet
kv_only_nextn=true)llama.cpp builds activate it via --spec-type draft-mtp.1llama-server -m Qwen3.6-35B-A3B-MTP-IMAT-IQ4_XS-Q8nextn.gguf \
2 -ngl 999 -fa on -c 32768 --parallel 1 \
3 -ctk q8_0 -ctv q8_0 --kv-unified \
4 --host 0.0.0.0 --port 8080 --jinjallama.cpp built from master after ggml-org/llama.cpp#22673:1llama-server -m Qwen3.6-35B-A3B-MTP-IMAT-IQ4_XS-Q8nextn.gguf \
2 -ngl 999 -fa on -c 32768 --parallel 1 \
3 -ctk q8_0 -ctv q8_0 --kv-unified \
4 --spec-type draft-mtp \
5 --spec-draft-n-max 2 \
6 --spec-draft-p-min 0.0 \
7 --host 0.0.0.0 --port 8080 --jinja--spec-draft-n-max wins — accept rate decays faster with depth than dense models. n_max=2 is the sweet spot. For MoE at deeper chains (n>=3), --spec-draft-p-min 0.0 outperforms p_min=0.75 because per-step sampler overhead from top_k+softmax exceeds the accept-rate savings on this arch.| config | decode tok/s |
|---|---|
| no spec (greedy) | ~120 (varies) |
--spec-type draft-mtp --spec-draft-n-max 2 --spec-draft-p-min 0.0 | ~200 (+67%) |
| n_max | tok/s |
|---|---|
| 1 | 189.5 |
| 2 | 198.7 (+24%) |
| 3 | 191.2 |
| 4 | 167.6 |
IQ4_XS calibrated with an imatrix derived from a mixed-domain calibration set.Q8_0 (NextN). Sensitive to precision.Q8_0/Q8_0 recommended.LLM_ARCH_QWEN35MOE_MTP). Merged upstream in #22673.--spec-draft-p-min 0.75 requires recent llama.cpp that honors p_min on the DRAFT_MTP path.kv_only_nextn=true.