4 ms·
Getting so close to good! I consider Gemma 4 31B (dense / no MoE), the new baseline for local models. It's obviously worse than the frontier models, but it fee
by soganess 5mo ago
Getting so close to good!
I consider Gemma 4 31B (dense / no MoE), the new baseline for local models. It's obviously worse than the frontier models, but it feels less like a science experiment than any previous local model I’ve run, including GPT OSS 120B and Nemotron Super 120B.
On my M5 Max with 128 GB of RAM and the full 256K context window, I see RAM use spike to about 70 GB, with something like 14 GB of system overhead. A 64 GB Panther Lake machine with the full Arc B390, or a 48 GB Snapdragon X2 Elite machine, could probably run it with a 128K to 256K context window. Maybe you can squeeze it into 32GB (27.5GB usable) with a 32K context window?
Even last year, seeing this kinda performance on a mainstream-ish/plus configuration would have seemed like a pipe dream.
- discordance 5mo agoCould you please share your time to first token and tok/s?
- ls612 5mo agoI’m on an M2 Max and get 10 tok/s with Gemma 4 8bit MLX
- isomorphic 5mo agoM4 Pro 64GB (14 CPU / 20 GPU), Gemma 4 31B Q4_K_M GGUF, LM Studio: time to first token 0.92s, 11.56 tokens/s. Edit: For comparison with the other poster, same setup as above, but with Gemma 4 31B Instruct 8bit MLX (not sure if exactly the same model): time to first token 4.62s, 7.20 tokens/s; with a different prompt, 1.17s and 7.24 tokens/s.
- zozbot234 5mo agoCould you (or anyone with the same hardware) try antirez's ds4 and report how gracefully it degrades with only the 64GB RAM? Obviously it's going to be dog slow at best for any single inference flow, but can you meaningfully improve on that by running many sessions in parallel? (Ideally you'd need roughly on the order of model sparsity in order to get meaningful sharing of MoE weights, but whether that's genuinely achievable is anyone's guess!)
- thot_experiment 5mo agoGemma 4 IS good, I've literally had it get a thing right that Opus 4.7 missed, the edges are ragged and I'm reliably finding usecases where it's basically equivalent. Ultimately the metric is "what can I RELY on it to do". Opus definitely knows a lot more and can sometimes do much more complex tasks, but especially when you're good about feeding the context Gemma is amazing. The difference between the sets of things I trust the two models to do is surprisingly small. I've had some insanely good runs recently working on my personal tooling as well as random projects. The first local model that can reliably left to implement features in agentic mode on non-trivial projects. https://thot-experiment.github.io/gradient-gemma4-31b/ https://thot-experiment.github.io/gradient-gemma4-31b/ This is a relatively complex piece of tooling built entirely by Gemma 4 inside OpenCode where I manually intervened maybe only 4 times over the course of a few hours. running Q6_K_XL, 128k context @ q8 ~ 800tok/s read 16tok/sec write eagerly awaiting turboquant and MTP in llama.cpp, should take me to 256k and 25-30tok/s if the rumors are true
- thot_experiment 5mo agoRe-posting this from a buried comment for visibility because it's just so fucking impressive to me. I went to the store to buy mixers and while I was out Gemma 4 31b got pretty far along with reverse engineering the bluetooth protocol of a desk thermometer I have. I forgot to turn on the web search tool, so it just went at it, writing more and more specific diagnostic logging/probing tools over the course of like 8 turns. It connected to the thermometer, scanned the characteristics and had made a dump of the bluetooth notification data. When I got back it was theorizing about how the data might be encoded in the bluetooth characteristics and it got into an infinite loop. (local models aren't perfect and i never said they were) I turned on the websearch tool and told it to "pick up the project where it left off", it read the directory, did a couple googles and had a working script to print temperature, humidity and battery state in like 3 turns. Reading back throught it's chain of thought I'm pretty sure it would have been able to get it eventually without googling. idk, I thought I was a cool and smart engineer type for being able to do stuff like this, if my GPUs being able to do this more or less unsupervised isn't impressive I guess fuck me lol.
- 5mo ago
- plufz 5mo agoDoes gemma work better than qwen3 in your experience?
- 2ndorderthought 5mo agoNot in mine. I see a lot of people talking about Gemma on here but in my circles pretty much everyone else is running qwen.
- pdyc 5mo agoi use smaller model gemma e2b for most of my editing and it works surprisingly well. Workflow is planning with sota models and execution via small models. If you plan properly dont leave ambiguity for smaller model it works well.
- 2ndorderthought 5mo agoOut of curiosity have you tried other small models? The e2b for me was unusable. Llama3.2 3b was better and that thing is a year old and I rarely use it now too.
- pdyc 5mo agoyes i keep on trying small models, i have also tried qwen 3.5 0.8B, 2B, 4b and gemma4 e4B models but they either did not worked reliably (thinking loop, issue in following instruction) or there were performance issues (prompt speed, tg speed, too much ram) e2b was the sweet spot where i could give it plan and it can edit files properly.
- 2ndorderthought 5mo agoThat makes sense it sounds like your computer isn't super powerful. Whatever works for you
- Melatonic 5mo agoHow did e2b compare to e4b ?
- pdyc 5mo agoi did not see much improvement for my use case i.e. file editing tasks but with e4b tg/s is lower so i stick with e2b.
- gertlabs 5mo agoThe small Qwen 3.6 models handle context a little better than Gemma 4, but Gemma 4 26B in particular has such small and efficient solutions which are really smart for its weight class. I was so impressed with its performance in our benchmark upon release that I wrote a blog post about it [0], although its position on the leaderboard later fell a bit as we ran it in more long context agentic coding environments. [0] https://gertlabs.com/blog/gemma-4-economics https://gertlabs.com/blog/gemma-4-economics
- spwa4 5mo agoHere's a great explanation why: https://www.youtube.com/watch?v=_A367W_qvc8 https://www.youtube.com/watch?v=_A367W_qvc8 Google's messing with the context. LOTS of speed for a little worse long-context performance.
- alfiedotwtf 5mo agoWhat's your opinion with Gemma 4 vs Qwen3.6?
- henry_kang 5mo ago[dead]
- prettyblocks 5mo agoIt's great, but I wish I could use these things without it feeling like my laptop is going to melt through the desk.