cd /news/large-language-models/notes-on-mtp-eagle-3-and-dflash · home topics large-language-models article
[ARTICLE · art-65666] src=dotnetperls.com ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

Notes on MTP, EAGLE-3 and DFlash

A developer reports that speculative decoding techniques MTP, EAGLE-3, and DFlash can significantly speed up local inference of large language models in llama-cpp. Testing on an NVidia 3060 RTX 12 GB GPU with models like Qwen 3.6 35B and Gemma 4 26B, the developer found that using a lower spec-draft-n-max setting of 1 yields better tokens per second, with DFlash slightly outperforming EAGLE-3 on Gemma 4 26B. MTP speculative decoding improved a coding model's speed from 24 to 39 tokens per second, a 38% speedup.

read1 min views2 publishedJul 7, 2026

Speculative decoding is a huge speedup for local inference of LLMs in llama-cpp

(and similar programs). Recently I have tried to adjust the settings for MTP, EAGLE-3 and DFlash to get higher tokens per second on my NVidia 3060 RTX 12 GB GPU.

For larger models like Qwen 3.6 35B and Gemma 4 26B, I have found that using a **lower** `spec-draft-n-max`

setting (for `llama-cpp`

) is beneficial. I have found 1 works better than 2 or 3 (or 0) for MPT, EAGLE-3 and DFlash on these larger models.

I compared DFlash with EAGLE-3 in Gemma 4 26B, and found that with a spec-draft-n-max

of 1, DFlash was slightly faster than EAGLE-3. For consumer GPUs like the 3060, it seems beneficial to reduce the speculation being done, and use smaller speculative models (the DFlash model I have is smaller than the EAGLE-3 one).

Overall, I found that MTP speculative decoding improved the tokens per second in my coding model (Qwen 3.6 35B AutoRound) from 24 to 39 tokens per second, which is a 38% speedup. It is important on some GPUs to use a lower value for spec-draft-n-max

, even setting it to 1.

── more in #large-language-models 4 stories · sorted by recency
── more on @llama-cpp 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/notes-on-mtp-eagle-3…] indexed:0 read:1min 2026-07-07 ·