Copilot-style coding assistant from a headless RTX 3090 box
- Hardware
- Headless Ubuntu desktop with NVIDIA RTX 3090
- Models & engines
- Ollama with qwen2.5-coder:7b (7.6B, Q4_K_M, 4.7 GB)
- Key gotcha
- qwen2.5-coder:32b (Q4_K_M, ~20 GB) fit the GPU but was too big as a coding agent; Continue sometimes froze
What they built
Privacy concerns kept the author away from Copilot even after seeing its productivity boost. Instead they run the model on a headless home desktop and use it from their laptops through VS Code's Continue plugin.
Setup
- Headless Ubuntu desktop with NVIDIA RTX 3090
- Ollama with qwen2.5-coder:7b (7.6B, Q4_K_M, 4.7 GB)
- VS Code + Continue on the laptop, through an SSH port forward
Results & numbers
- No sluggishness reported, and satisfied with the quality of assistance
Gotchas
- qwen2.5-coder:32b (Q4_K_M, ~20 GB) fit the GPU but was too big as a coding agent; Continue sometimes froze
Do it yourself
- Install Ollama on the GPU machine and set OLLAMA_HOST=0.0.0.0:11434 via systemctl edit ollama.service
- ollama run qwen2.5-coder:7b
- From the laptop: ssh -L 11434:localhost:11434 user@server
- Add the config below to ~/.continue/config.yaml
name: Local Config
version: 1.0.0
schema: v1
models:
- name: Qwen
provider: ollama
model: qwen2.5-coder:7b
apiBase: http://localhost:11434
roles: [chat, edit, apply, autocomplete]Similar setups
OzAI: a self-hosted ChatGPT on a 16 GB MacBook with Ollama, LiteLLM and Open WebUI, and what broke
A DevOps engineer served Qwen3 8B and Qwen2.5-Coder 3B from one M1 Pro laptop as a small private platform with per-user keys, rate limits, local web search and IDE chat, and documented seven silent failures.
A €200 mini PC as an offline AI box: a week with Gemma and Qwen
Diogo Soares ran Gemma 4 E4B and Qwen2.5-Coder 7B on a cheap NiPoGi P1 mini PC firewalled off the internet, used it from his Mac for a week, and measured what was fast and what wasn't.
Hybrid workflow: local for private and repetitive, cloud for hard
A Linux sysadmin stopped trying to replace cloud LLMs. Ollama now handles private docs, overnight article summaries and VS Code autocomplete.
Getting OpenCode to work with a local Ollama model by fixing the 4,096-token context
OpenCode on a local Ollama model ignored files, invented tasks or looped, because each ~23k-token request was silently cut to fit Ollama's default 4,096-token context on a 16 GB GPU.