New: Llama.cpp adaptive speculation for faster inference
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
We have been working on some performance optimisations for Qwen3.8 and other models.
The main new feature that we introduced is adaptive speculation for Llama.cpp
What is it?
MTP and DFlash work well to speed up inference work, especially for dense models. However, different content types need different settings. Llama.cpp only supports a single value.
This fork introduces adaptive speculation. You set the minimum and maximum and the engine will adjust the number of tokens that are suggested automatically. This leads to improvements in token generation by up to 50% over mainline, especially in Qwen3.8. On a Strix Halo this improved generation from 44t/s to 65t/s for structured content.
Github: https://github.com/LaurentZuijdwijk/llama.cpp
Release: https://github.com/LaurentZuijdwijk/llama.cpp/releases
[link] [comments]
More from r/LocalLLaMA
-
Apple releases M5 ultra at 1.2TB/s bandwith
Aug 25
-
Apple introduces new Mac Studio with M5 Max and M5 Ultra - up to 512GB of unified memory
Aug 25
-
Quantization-Aware Healing: a compressed, 4-bit model that outperforms its full-precision original
Aug 25
-
Qwen 3.8 Flash Next day 0 support from unsloth
Aug 25
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.