MTP

Technique · Text & code

A speed-up method where a model predicts several next tokens at once and checks them, making local text generation roughly twice as fast.

Latest · Nov 29Native MTP-3 gave 80.14 tok/s decoding on Qwen3.8-27B IQ3_S at 16K, ahead of DSpine-b16 (71.46) and DFlash2 (58.66); plain decoding was 43.75.

Evidence

  1. Nov 29
    Native MTP-3 peaked near 13.3 GB VRAM at 67% acceptance, while DFlash2 and DSpine with draft models peaked above 15.2 GB, saving about 2 GB.
  2. Nov 25
    MTP acceleration roughly doubled Qwen3.8-27B IQ4_XS speed on the 7900 XTX, from about 42 to about 78 tok/s.
  3. Nov 17
    Qwen3.8 27B MTP head adds about 1.37 GB; Unsloth advises 1 to 2 GB free for it. 2-bit weights, full 262K cache and MTP need about 13.5 GB, over a 12 GB card.
  4. Nov 17
    In llama.cpp tests on RTX 3090 with Qwen3.6, MTP raised speed from 23 to 42.5 tok/s (about 1.85x), costing about 2.5 GB more memory and slower prompt processing.
  5. Nov 17
    In the RTX Pro 4000 test, MTP with 8 draft tokens raised Qwen3.8 27B generation from 21 to almost 60 tok/s, nearly 3x.
Show all 6
  1. Nov 17
    Published tests show MTP draft acceptance varying from 34% to 94%, so peak speeds on predictable text may not hold on real coding tasks.

Alternatives

DSpineOn the same coding task MTP reached about 78 tok/s in about 35 s; DSpine at 161 tok/s in 17 s was more than twice as fast.
DFlashPinning DFlash 2 as speculative decoding raised 32K generation from 44.3 to 47.9 tokens/s (about 8%) and used about 210 MB less draft VRAM than the default MTP.