Briefing

MTP Support Added to llama.cpp via PR #22673

ai-dev
by /u/Edenar · Llama

Test MTP support in llama.cpp on your GPU; expect 60‑80 tokens/s versus 40 without MTP.

What to do now

Test MTP support on your own hardware; benchmark token/s; adjust launch parameters for larger models.

Summary

An update to llama.cpp introduces Multi‑Threaded Pipeline (MTP) support via PR #22673, allowing users to enable MTP with the flag `--spec-type mtp --spec-draft-n-max 3`. The author rebuilt the radv container from the kyuz0/amd-strix-halo-toolboxes repository to run the new code on an AI Max 395 GPU with 128 GB DDR5‑8000 memory. Running the Qwen3.6‑35B3A3B‑MTP‑GGUF model from Hugging Face, token throughput rose from roughly 40 tokens/s without MTP to between 60 and 80 tokens/s, depending on the prompt. The pipeline throughput (PP) remained unchanged, and the two GGUF files used were about 36 GB each.

Performance gains were most noticeable on simple math prompts, while more complex subjects saw smaller improvements. The author noted that the GGUF size and PP stability suggest the change is primarily a scheduling optimization. Future tests on the larger Qwen 3.5 122B model are planned, with potential launch‑parameter tweaks. Overall, the MTP feature demonstrates a tangible speed boost for large‑model inference on AMD GPUs.

Key changes

  • MTP support added via PR #22673
  • Enable with `--spec-type mtp --spec-draft-n-max 3`
  • Token throughput increased to 60‑80 tokens/s from ~40 tokens/s on AI Max 395 GPU
  • Pipeline throughput unchanged
  • GGUF Qwen3.6‑35B3A3B‑MTP‑GGUF used, ~36 GB each
  • Rebuilt radv container from kyuz0/amd-strix-halo-toolboxes
  • Performance gains vary by prompt type, best on simple math

Affects

internal

Source angles · 5 perspectives

Reddit r/LocalLLaMA
Independent angle

MTP on strix halo with llama.cpp (PR #22673)

Open
Reddit r/LocalLLaMA
Independent angle

2.5x faster inference with Qwen 3.6 27B using MTP - Finally a viable option for local agentic coding - 262k context on 48GB - Fixed chat template - Drop-in OpenAI and Anthropic API endpoints

Open
Reddit r/LocalLLaMA
Independent angle

Qwen3.6-27B with MTP grafted on Unsloth UD XL: 2.5x throughput via unmerged llama.cpp PR

Open
Reddit r/LocalLLaMA
Independent angle

Multi‑Token Prediction (MTP) for LLaMA.cpp Boosts Gemma 4 Speed by 40%

Open
Reddit r/LocalLLaMA
Independent angle

Running Qwen3.5 / Qwen3.6 with NextN MTP (Multi-Token Prediction) speculative decode in llama.cpp — single RTX 3090 Ti GPU guide

Open

Customer impact

Analyzing matches…

Ask about this story

Impact on an agency? Which customers? Compare historically Risks of waiting