Does quantizing change the MTP draft rate?
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
| Speculative decoding speeds up LLM generation by using a small "drafter" model to predict several tokens ahead of the main model. The main model then verifies these predictions in a single forward pass. If the main model is heavily quantized (low bit-rate), it becomes less "consistent" with the drafter, lowering the acceptance rate. Models used:
Acceptance rate across quantization levels are tested as a function of draft depths (
Takeaways. Acceptance rates decline as draft depth increases across all quantization levels. While Q5_K_S provides the highest fidelity, IQ4_XS and IQ3_M perform nearly identically, and even the 2-bit IQ2_M maintains high acceptance for single-token drafts. The speed up associated with these draft levels is very hardware and architecture dependent, the biggest gains come from using n=2 on a cuda device while apple metal only marginally benefits from n=1. Try it yourself: Download the weights, all you need is ~12 Gb of memory to run the 31B trunk at IQ2_M. Or ~24 Gb if you want to run Q5_K_S with vision capabilities and MTP support. Run it via [link] [comments] |
More from r/LocalLLaMA
-
What's in your RAG?
Jul 2
-
Palantir CEO rages against closed models
Jul 2
-
A cheap trick for reliable structured output: feed the validation error back into the retry
Jul 2
-
SenseNova-U1-8b-MoT-Infographic-V2 (released yesterday) - An open source SOTA beast for infographic design and image editing.
Jul 2
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.