MTP support is being addedto llama.cpp, at least for the Qwen models ( https://github.com/ggml-org/llama.cpp/pull/20533 ) and I'd imagine Gemma 4 will come soon. The performance uplift on local/self-hosted models in both quality and speed has been amazing in the last few months.
Accelerating Gemma 4: faster inference with multi-token prediction drafters
11–20 of 345 posts
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#12Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#13Earlier quoted context omitted.
I wonder if for a model that small with a permissive license it might not be worth their time to host a commercial grade inference stack? Might be easier to chuck it over the fence and let other providers handle it as it'll run in almost any commercial grade card? Also speculating, but I wonder if it might also create a bit of a pricing problem relative to Gemini flashlight depending on serving cost and quality of ou…
i dont know what are you talking about, i replaced an older gpt4o with a finetuned qwen. there is a huge amount of "AI, that can be done with those models, or partly by those models." Huge amount of people would not notice the difference. And if you prepare the context correctly, even bigger slice of people would not notice.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#14Has anyone managed to get this to work in LM Studio? They've got a option in the UI, but it never seems to allow me to enable it.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#15MTP support is being addedto llama.cpp, at least for the Qwen models ( https://github.com/ggml-org/llama.cpp/pull/20533 ) and I'd imagine Gemma 4 will come soon. The performance uplift on local/self-hosted models in both quality and speed has been amazing in the last few months.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#16https://docs.nvidia.com/megatron-core/developer-guide/0.15.0...
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#17Has anyone managed to get this to work in LM Studio? They've got a option in the UI, but it never seems to allow me to enable it.
They're somehow connected to vision & block speculative decode...don't ask me how/why though
For gemma specifically had more luck with speculative using the llama-server route than lm studio
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#18MTP support is being addedto llama.cpp, at least for the Qwen models ( https://github.com/ggml-org/llama.cpp/pull/20533 ) and I'd imagine Gemma 4 will come soon. The performance uplift on local/self-hosted models in both quality and speed has been amazing in the last few months.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#19Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#20MTP support is being addedto llama.cpp, at least for the Qwen models ( https://github.com/ggml-org/llama.cpp/pull/20533 ) and I'd imagine Gemma 4 will come soon. The performance uplift on local/self-hosted models in both quality and speed has been amazing in the last few months.
How does this get added in practice?
The current implementation ignores that head but the PR let the tool recognize it, plus does proper integration (run the MTP while running the slower main path then compare the result, I believe.)