Live data from Hacker News

April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

gist.github.com

41–50 of 132 posts

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#41
post #31

I tested briefly with a MacBook Pro m4 with 36gb. Run in LM Studio with open code as the frontend and it failed over and over on tool calls. Switched back to qwen. Anyone else on similar setup have better luck?

Haven't had time to try yet, but heard from others that they needed to update both the main and runtime versions for things to work.

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#42
The article has a few good tips for using Ollama. Perhaps it should note that the Gemma 4 models are not really trained for strong performance with coding agents like OpenCode, Claude Code, pi, etc. The Gemma 4 models are excellent for applications requiring tool use, data extraction to JSON, etc. I asked Gemini Pro about this earlier and Gemini Pro recommended qwen 3.5 models specifically for coding, and backed that up with interesting material on training. This makes sense, and is something that I do: use strong models to build effective applications using small efficient models.

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#43
post #38
post #30

Earlier quoted context omitted.

> I don't think it does, but llama.cpp does I just checked their docs and can't see anything like it. Did you mistake the command to just download and load the model?

-hf ModelName:Q4_K_M

Did you mistake the command to just download and load the model too?

Actually that shouldn't be a question, you clearly did.

Hint: it also opens Claude code configured to use that model

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#46
post #31

I tested briefly with a MacBook Pro m4 with 36gb. Run in LM Studio with open code as the frontend and it failed over and over on tool calls. Switched back to qwen. Anyone else on similar setup have better luck?

Haven't had time to try yet, but heard from others that they needed to update both the main and runtime versions for things to work.

Even with the latest version of LM Studio and the latest runtimes I find that tool use fails 100% of the time with the following error: Error rendering prompt with jinja template: "Cannot apply filter "upper" to type: UndefinedValue".

EDIT: The issue is addressed in LM Studio 0.4.9 (build 1), which auto-update wasn't picking up for me for some reason.

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#47
post #3

There is virtually no reason to use Ollama over LM Studio or the myriad of other alternatives. Ollama is slower and they started out as a shameless llama.cpp ripoff without giving credit and now they “ported” it to Go which means they’re just vibe code translating llama.cpp, bugs included.

LM Studio is closed source. And didn't Ollama independently ship a vision pipeline for some multimodal models months before llama.cpp supported it?

Yes, they introduced that Golang rewrite precisely to support the visual pipeline and other things that weren't in llama.cpp at the time. But then llama.cpp usually catches up and Ollama is just left stranded with something that's not fully competitive. Right now it seems to have messed up mmap support which stops it from properly streaming model weights from storage when doing inference on CPU with limited RAM, even as faster PCIe 5.0 SSDs are finally making this more practical.

The project is just a bit underwhelming overall, it would be way better if they just focused on polishing good UX and fine-tuning, starting from a reasonably up-to-date version of what llama.cpp provides already.

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#48

M5 air here with 32gb ram and 10/10 cores. Anyone got some luck with mlx builds on oMLX so far? Not at my machine right now and would love to know if these models already work including tool calling

I know that someone got Gemma 4 E4B working with MLX [1] but I don't know much more than that.

1: https://github.com/bolyki01/localllm-gemma4-mlx

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#49

The article has a few good tips for using Ollama. Perhaps it should note that the Gemma 4 models are not really trained for strong performance with coding agents like OpenCode, Claude Code, pi, etc. The Gemma 4 models are excellent for applications requiring tool use, data extraction to JSON, etc. I asked Gemini Pro about this earlier and Gemini Pro recommended qwen 3.5 models specifically for coding, and backed that…

> I asked Gemini Pro about this earlier and Gemini Pro recommended qwen 3.5 models specifically for coding, and backed that up with interesting material on training.

The Gemma models were literally released yesterday. You can’t ask LLMs for advice on these topics and get accurate information.

Please don’t repeat LLM-sourced answers as canonical information

Re: April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

#50

Why is ollama so many people’s go-to? Genuinely curious, I’ve tried it but it feels overly stripped down / dumbed down vs nearly everything else I’ve used. Lately I’ve been playing with Unsloth Studio and think that’s probably a much better “give it to a beginner” default.

For me it's just the server. I use openwebui as interface. I don't want it all running on the same machine.
Post reply on HN