I don't see it talked about much, but Gemma (and gemini) use enormously less tokens per output than other models, while still staying within arms reach of top benchmark performance. It's not uncommon to see a gemma vs qwen comparison, where qwen does a bit better, but spent 22 minutes on the task, while gemma aligned the buttons wrong, but only spent 4 minutes on the same prompt. So taken at face value, gemma is now…
Accelerating Gemma 4: faster inference with multi-token prediction drafters
231–240 of 345 posts
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#232I don't see it talked about much, but Gemma (and gemini) use enormously less tokens per output than other models, while still staying within arms reach of top benchmark performance. It's not uncommon to see a gemma vs qwen comparison, where qwen does a bit better, but spent 22 minutes on the task, while gemma aligned the buttons wrong, but only spent 4 minutes on the same prompt. So taken at face value, gemma is now…
Anecdotally the 15/month basic Gemini plan allows coding all day. I'm not hitting the limits or needing to upgrade to 100/month plans like other people are doing with Claude or Codex. Caveat: Gemini has been dumbed down a few times over the last year. Rate limits tightened up too. So it might not be this good in the future.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#2333x faster inference means cheaper api costs tooo. For solo dev building ai this matters a lot
Not necessarily. Servers serving the model likely has enough traffic that they are batching decodes already. MTP reduces latency and increase efficiency only when the server can’t batch enough concurrent streams to be compute bound rather than memory bound.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#234I don't see it talked about much, but Gemma (and gemini) use enormously less tokens per output than other models, while still staying within arms reach of top benchmark performance. It's not uncommon to see a gemma vs qwen comparison, where qwen does a bit better, but spent 22 minutes on the task, while gemma aligned the buttons wrong, but only spent 4 minutes on the same prompt. So taken at face value, gemma is now…
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#235Earlier quoted context omitted.
Anecdotally the 15/month basic Gemini plan allows coding all day. I'm not hitting the limits or needing to upgrade to 100/month plans like other people are doing with Claude or Codex. Caveat: Gemini has been dumbed down a few times over the last year. Rate limits tightened up too. So it might not be this good in the future.
Where are you using it? Is Gemini CLI at a usable state? It was a frustrating, miserable experience last time I gave it a shot. Antigravity seems significantly better in comparison, but with lower usage limits. If I run out, I usually don't bother switching to Gemini CLI.
Technically usable but with bad/broken code. I found 3 different bugs with 1 feature, found a duplicate feature (their vibe coding missed the fact that the feature was already implemented), and the docs were wrong. Other features were ridiculously badly implemented. Reported them all, submitted multiple changes. None were accepted. Their repo was a hellscape of AI-generated issues and AI-generated PRs; I think mine was the only one written by a human. This was a month and a half ago.
Google is one of the most valuable corporations in the world, yet even they shipped a turd of an app to real customers and can't even take a bug fix. I think AI coding might be cooked.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#236How is this different from the speculative decoding that we had before? You could pair a big and small model like qwen 32b with qwen 4b and had that same dynamic of the small model generating tokens and the big one "certifiying" them. The blog says something about re-using the big model's data?
Multi token prediction is the same thing as speculative decoding. This is mentioned in the Google pages describing their MTP implementation. Google has now provided small models for each of the previous Gemma 4 models, e.g. "gemma-4-26B-A4B-it-assistant" for "gemma-4-26B-A4B-it". The difference vs. Qwen is that here each small model is not some general-purpose smaller model, but a model that has been optimized specif…
Interesting, must try tomorrow.
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#237I always encourage folks who are interested in LLM internals to read up on speculative decoding (both the basic version and the more advanced MTP), and if you have time, try and implement your own version of it (writing the core without a coding agent, to begin with!)
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#238Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#239Earlier quoted context omitted.
Also bonus: using it in Antigravity you can burn through all the Opus credit Google give you first to do all the planning and then switch it to Gemini 3.1 Pro to do the grunt work.
Have you compared Opus and Gemini to see if Gemini is any worse at planning than Opus?
Re: Accelerating Gemma 4: faster inference with multi-token prediction drafters
#240Earlier quoted context omitted.
Have you compared Opus and Gemini to see if Gemini is any worse at planning than Opus?
Yes, Gemini 3.1 Pro (High) is still inferior to Opus 4.6 (Thinking) that Google are offering, for planning. It just doesn't think things through as thoroughly as Opus. I'll use it when I've burned up all my Opus tokens and I still have planning I want to do, but I'll read the plan very carefully, whereas with Opus I'll only give it a cursory scan through.