How to Correctly Enable MTP Acceleration in Quantized LLMs

    You can run a quantized large language model in a local inference framework and still see no speedup from Multi-Token Prediction (MTP). This article explains why: enabling MTP requires more than the main model weights—it also needs a separately distributed, easily overlooked prediction (draft) head. It covers what MTP is, how it relates to draft models and speculative decoding, why quantization-aware training (QAT) tends to ship the prediction head as a separate shard, the root cause of MTP silently falling back to single-token decoding, step-by-step instructions for loading both the main model and the MTP head, how to verify the speedup through tokens/s comparisons and startup logs, and a checklist of common mistakes. You will learn to reproduce MTP inference speedup reliably instead of being stuck with "downloadable but unusable" models.

    Introduction: Why “downloading a model” often doesn’t mean “getting the speedup”

    Recently, many large language models that use Multi-Token Prediction (MTP) have been integrated into mainstream local inference frameworks. This has raised a common question: the model clearly runs, but generation isn’t any faster. After some digging, the cause turns out not to be a framework limitation, but the fact that enabling MTP requires more than the main model weights alone—it also needs a separately distributed, easily overlooked prediction (draft) head. Understanding the principle behind this pitfall matters more than memorizing a single command.

    1. What Is MTP?

    A traditional autoregressive LLM predicts only one token per step during decoding and emits tokens one by one in serial fashion, so speed is bounded by memory bandwidth and access overhead. The core idea of MTP is to have the model predict not just the next token at each position, but multiple tokens at several future positions at once. In other words, MTP adds several “multi-token prediction heads” to the model.

    This brings two kinds of benefits:

    • Training level: Multi-target supervision signals are denser, the model captures long-range dependencies more thoroughly, and this often improves representation quality and generation stability.
    • Inference level: A single forward pass can “guess” multiple candidate tokens, which—combined with a verification mechanism—can be produced in batches, reducing the number of serial decoding steps and directly speeding up inference.

    It’s worth stressing that MTP is a widely recognized general decoding-acceleration approach in the industry. It shares the same principles as speculative sampling and parallel decoding, and is not a proprietary feature unique to any single model.

    2. How MTP Relates to Draft Models and Speculative Decoding

    The key to understanding MTP is to view it alongside speculative decoding. The classic form of speculative decoding is “draft + verify”: a lightweight, fast draft model first proposes several candidate tokens in one go, then the target large model verifies all of them in parallel in a single pass. Correct tokens are accepted directly, and decoding rolls back and retries at the first error.

    MTP can be understood as one way of implementing “the model carrying its own draft capability”—the prediction head plays the draft role and shares the backbone features with the main model. This makes it more resource-efficient and better aligned than attaching a separate small model. Precisely because the prediction head is a relatively independent block of weights, engineering implementations often package and distribute it separately, which sets up the “missing load” pitfall discussed later.

    3. Quantization-Aware Training (QAT) and the “Split” of Weights

    To run on local devices, large models are usually quantized (representing weights and activations at lower bit widths). There’s an important distinction here:

    • Post-Training Quantization (PTQ): Train first, then compress. It’s simple to implement, but precision loss at low bit widths can be significant.
    • Quantization-Aware Training (QAT): Simulate quantization error during training or fine-tuning so the model “adapts” to low precision in advance, preserving better generation quality at the same bit width.

    QAT models have clear advantages, but they also introduce a structural problem: after the main model is quantized and compressed, the MTP prediction head weights—needed to preserve overall quality and the acceleration effect—are often not packed into the same file as the main model. Instead, they are released as a separate shard, alongside the non-quantized build, in a subdirectory of the model repository. This explains the original confusion—“I searched all around the main model, so why can’t I find MTP?”

    4. The Root Cause of MTP Failure Under Quantized Models

    Putting the points above together, we can locate the root cause of the failed speedup: most people download and load only the quantized main model weights and never load the separate MTP (draft) prediction head. In this situation, the inference engine simply degrades to ordinary single-token decoding—the model can still hold a conversation, but there’s no speed improvement.

    In one sentence: MTP is a combined capability of “main model + prediction head.” Without the prediction head, there’s no acceleration to speak of.

    5. Complete Steps to Enable It Correctly

    Below is a general workflow that is product-agnostic and transferable to mainstream local inference frameworks.

    Step 1: Prepare the main model weights. Download the quantization-aware trained (QAT) quantized main model weight files from a model hosting platform or open-source community, and confirm that their bit width and context length match your hardware’s memory.

    Step 2: Prepare the MTP (draft) weights separately. This is the step most easily missed. The MTP prediction head is usually released together with the non-quantized build, in a separate directory of the model repository (for example, a subdirectory named mtp). You need to download it separately.

    Step 3: Organize the file layout. The draft weights can live in the same directory as the main model or in any standalone path; what matters is that you can correctly point the inference engine to both paths at launch. Keeping them in the same directory is recommended for easier version management and migration:

    1. ./models/
    2. ├── quantized-main/ # QAT quantized main model
    3. │ └── model-weights
    4. └── mtp-head/ # separately downloaded MTP prediction head
    5. └── draft-weights

    Step 4: Load the main model and attach the draft weights. The key point is this: in addition to specifying the main model path, you must also load the MTP weights through a “draft model / prediction head loading parameter.” An example command is shown below (parameter names should follow your framework’s actual documentation; naming varies slightly across frameworks):

    1. infer-engine serve \
    2. --main ./models/quantized-main/model-weights \
    3. --draft ./models/mtp-head/draft-weights \
    4. --ctx-size 4096 \
    5. --threads 8

    Step 5: Check the logs. After startup, watch for a message in the engine logs such as “loaded draft model / mtp head attached.” Only when you see that the draft model is actually loaded can you confirm that MTP is truly enabled, rather than just the main model being loaded.

    6. How to Verify MTP Is Really Working

    Don’t assume the speedup is on just because the engine starts successfully. It’s recommended to run a quantified comparison:

    • Using the same prompt and the same set of sampling parameters, measure the output tokens per second (tokens/s) for two configurations: “main model only” and “main model + draft.”
    • Normally, enabling the draft should produce an observable increase in throughput, and the semantic quality of generation should not noticeably degrade.
    • If throughput doesn’t change, the draft usually wasn’t loaded or the prediction head doesn’t match the main model version; if quality drops noticeably, the draft and main model may not be products of the same training run, and you should re-pair and re-download them.

    7. Common Mistakes and Troubleshooting Checklist

    • Mistake one: Assuming a complete main model comes with the speedup. The truth is that the prediction head is distributed separately and must be downloaded additionally.
    • Mistake two: Using the wrong version of the draft weights. The draft and main model should come from the same model and the same training run; mixing them lowers the hit rate and can even damage quality.
    • Mistake three: Changing the config without adding a loading parameter. If you don’t point to the MTP weights via the draft loading parameter at startup, the engine silently falls back to ordinary decoding.
    • Mistake four: Using context length or batch size to mask the problem. Parameter tuning affects memory and concurrency, and doesn’t replace the decoding speedup that the draft model provides.

    Suggested troubleshooting order: confirm whether the prediction head is downloaded → confirm whether the startup parameters attach it → confirm whether the logs show a successful load → compare whether tokens/s improves → verify that the draft and main model versions match.

    8. Summary

    MTP acceleration looks simple but is easy to get wrong, and the root cause is that it’s a combined capability of “main model + independent prediction head,” while quantization (especially QAT) tends to package the prediction head separately. Mastering three points lets you enable it reliably: first, understand how MTP corresponds to speculative decoding and draft models; second, remember that quantized models require preparing and loading the prediction head weights separately; and third, verify whether the speedup truly takes effect through throughput comparison and log confirmation. Do these things, and you’ll be able to reliably reproduce the inference speedup that MTP brings across many large models and local inference frameworks, no longer tripped up by the “downloadable but unusable” problem.