llama.cpp native MTP brings 1.4x–2.2x speedups on dense models, little on MoE
UsedMorning9886 · reddit · 2026-07-25
Native MTP in llama.cpp shows solid gains on dense models, weak ones on MoE
The post consolidates the current state of speculative decoding in llama.cpp after the dust settled.
- Native --spec-type draft-mtp now lets models use their own built-in MTP heads instead of a separate draft model.
- Qwen3.6, DeepSeek, and GLM ship with MTP heads that can use this path.
- A prior speculative checkpointing merge in April laid the groundwork for reliable rollback on hybrid/recurrent architectures.
- Reported results are mixed by architecture:
- Dense models: meaningful speedups, often in the 1.4x–2.2x range for cases like Qwen3.6-27B dense.
- MoE models: much smaller gains, sometimes none, because active-parameter cost per token is already low.
- The author also notes that older speculative methods — separate draft models, n-gram matching, and similar tricks — have had inconsistent third-party verification, with some detailed benchmarks on Qwen3.6-35B-A3B showing no net speedup and even regressions.
The takeaway: if you want faster local inference today, native MTP heads look more reliable than older draft-model speculation.
More from coding & agent
- Headroom Context Compression: Viral "95% Token Savings" Claim Drops to 20% for Coding Agents — alex_verem · 2026-07-25
- Bindu Reddy says vibe-coded apps with self-improving AI agents can cut costs 10x — bindureddy · 2026-07-25
- CachyLLama caches KV state on SSD and cuts 15,700-token prompts to under 1s — UsedMorning9886 · 2026-07-25
- OpenAI’s $230 Codex keypad adds a dial for reasoning effort — HaktanSuren · 2026-07-25
- Claude-built search page maps 390 NBER talks to the exact YouTube start time — joshgans · 2026-07-25
- Geek shares hardcore Birkin bag sourcing operation using AI agents — teodorio · 2026-07-25