llama.cpp Adds Beta Support for MTP
·2026.05.04 21:54
Key point
llama.cpp has added support for MTP (Multi Token Prediction) as a beta feature.
Details
llama.cpp has added beta support for MTP (Multi Token Prediction). MTP models are automatically loaded from the same GGUF and use a separate context and KV cache.
- To prevent hidden features from not being passed across multiple
ubatchcalls, a separate hook consumed by MTP was added after eachubatch. - In the Qwen3.6 27B benchmark, the
--spec-type mtp --spec-draft-n-max 3setting recorded an average acceptance rate of 72.18%, and total wall time dropped from 201.07 seconds → 83.8 seconds. - The baseline benchmark was 7.0–7.7 tok/s, and with MTP applied it rose to 13.9–21.6 tok/s.
The GGUF for MTP and the changes to convert_hf_to_gguf.py have also been released, allowing immediate experimentation in llama-server.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.