Home / use case

Copilot-style coding assistant from a headless RTX 3090 box

At a glance
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

  1. Install Ollama on the GPU machine and set OLLAMA_HOST=0.0.0.0:11434 via systemctl edit ollama.service
  2. ollama run qwen2.5-coder:7b
  3. From the laptop: ssh -L 11434:localhost:11434 user@server
  4. 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]
Source: Arul Selvam Periyasamy · Added 2026-10-18. This write-up summarizes the original source; see it for full details.

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.

Ahmet Ozan GAZİ (DEV Community) · 2026-11-03

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.

Diogo Soares (DEV Community) · 2026-10-30

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.

XDA Developers · 2026-10-18

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.

DEV Community (Davidrs) · 2026-11-27