I don't know why people bother with Claude code. It's so jank, there are far superior cli coding harness out there
Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
51–60 of 121 posts
Re: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#52Re: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#53Earlier quoted context omitted.
You never need to have all weights in memory. You can swap them in from RAM, disk, the network, etc. MOE reduces the amount of data that will need to be swapped in for the next forward pass.
Yes you're right technically, but in reality you'd be swapping them the (vast?) majority in and out per inference request so would create an enormous bottleneck for the use case the author is using for.
Re: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#54I don't know why people bother with Claude code. It's so jank, there are far superior cli coding harness out there
What do you recommend? I've tried both pi and opencode and both are better than claude imo, but I wonder if there are others.
Re: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#55ollama launch claude --model gemma4:26b
Re: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#56Earlier quoted context omitted.
What do you recommend? I've tried both pi and opencode and both are better than claude imo, but I wonder if there are others.
Codex is the best out-of-box experience, especially due to its builtin sandboxing. Only drawback is that its edit tool requires the LLM to output a diff which only GPTs are trained to do correctly.
Re: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#57ollama launch claude --model gemma4:26b
You need to increase the context window size or the tool calling feature wont work
OLLAMA_CONTEXT_LENGTH=64000 ollama serve
or if you're using the app, open the Ollama app's Settings dialog and adjust there.Codex also works:
ollama launch codex --model gemma4:26bRe: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#58Earlier quoted context omitted.
Claude Code is fairly notoriously token inefficient as far as coding agent/harnesses go (i come from aider pre-CC). It's only viable because the Max subscriptions give you approximately unlimited token budget, which resets in a few hours even if you hit the limit. But this also only works because cloud models have massive token windows (1M tokens on opus right now) which is a bit difficult to make happen locally with…
I use CC at work, so I haven't explored other options. Is there a better one to use locally? I presumed they were all going to be pretty similar.
Re: Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code
#59Earlier quoted context omitted.
What do you recommend? I've tried both pi and opencode and both are better than claude imo, but I wonder if there are others.
Codex is the best out-of-box experience, especially due to its builtin sandboxing. Only drawback is that its edit tool requires the LLM to output a diff which only GPTs are trained to do correctly.