How to setup a local coding agent on macOS
1–10 of 150 posts
Re: How to setup a local coding agent on macOS
#2Re: How to setup a local coding agent on macOS
#3 LLAMA_CACHE="models" ./llama-server \
-hf unsloth/gemma-4-31B-it-GGUF:UD-Q4_K_XL \
...Re: How to setup a local coding agent on macOS
#4Not sure you really need huggingface-cli to download anything if you're just using llama.cpp. You can pass `-hf ...` and it will download the models for you. Set `LLAMA_CACHE` to change where the downloads go: LLAMA_CACHE="models" ./llama-server \ -hf unsloth/gemma-4-31B-it-GGUF:UD-Q4_K_XL \ ...
-hfd for the draft model.
Re: How to setup a local coding agent on macOS
#5Re: How to setup a local coding agent on macOS
#6I am not convinced that the MTP setup for the QAT model adds very much in terms of speed on my M1 Max, but it is definitely worth experimenting with.
Fiddling about with local models has done so much for my conceptual understanding of what is going on.
FWIW and YMMV but I also found the Gemma 4 MTP head was occasionally breaking markup in Opencode, causing the thinking to display untidily and ultimately in some cases missing the stop token. So I've stopped using MTP there for now.
Recent Qwen 3.6 models have developer role support so it will occasionally surprise you with a structured multiple choice questionnaire.
Re: How to setup a local coding agent on macOS
#7Re: How to setup a local coding agent on macOS
#8Is there a link to the video? It did not render when I went to the page. Curious about the real-time feel of this
Re: How to setup a local coding agent on macOS
#9Not sure you really need huggingface-cli to download anything if you're just using llama.cpp. You can pass `-hf ...` and it will download the models for you. Set `LLAMA_CACHE` to change where the downloads go: LLAMA_CACHE="models" ./llama-server \ -hf unsloth/gemma-4-31B-it-GGUF:UD-Q4_K_XL \ ...
Yes. -hfd for the draft model.
Not knocking huggingface-cli, just find it's much easier for people to try out this stuff when they can just
mise use --global github:ggml-org/llama.cpp
LLAMA_CACHE="models" llama-server \
-hf unsloth/gemma-4-26B-A4B-it-qat-GGUF:UD-Q4_K_XL \
--host 0.0.0.0 \
--port 11434 \
...Re: How to setup a local coding agent on macOS
#10Is there a link to the video? It did not render when I went to the page. Curious about the real-time feel of this