Run Qwen3-Coder-30B on a 6GB GPU: open-source local IDE + coding agent with Vulkan, no ROCm
nomadiann · reddit · 2026-11-28
The author open-sourced a complete setup for running modern MoE coding models on a 6GB AMD RX 5600 XT (plain Vulkan, no ROCm/Visual Studio build), split into two Apache-2.0 repos:
PicoCode: one-click Windows setup (setup.cmd) that auto-detects AMD Vulkan / NVIDIA CUDA 12.4 / Intel Arc Vulkan, downloads pre-built llama.cpp, and serves Qwen3-Coder-30B-A3B (IQ4XS), Inkling 2 Mini (26.4B/3.4B looped MoE + Vision), or Qwen2.5-Coder-7B for 16GB-RAM machines.
PicoStudio: a zero-pip-dependency (pure Python 3.10+ stdlib) 3-pane local Web IDE (127.0.0.1:7900) with Coding Agent v3, side-by-side diff and multi-file review, multi-tab terminal with one-click traceback auto-fix, and a GPU Arbiter.
Key tricks that made 30B MoE usable on 6GB VRAM:
- Adaptive MoE layer offloading (--n-cpu-moe + -ngl 99 + --no-op-offload): attention + Q80 KV cache + 2 MoE layers stay on GPU, cold experts routed to system RAM
- Live VRAM Guard reads real-time Windows DXGI free VRAM before launch to prevent OOM; --load-mode none avoids mmap page-fault stalls in long agent loops
- Zero-VRAM speculative decoding (--spec-type ngram-mod) + --cache-reuse 256 speeds up repetitive edits
- KV-cache-preserving final synthesis: in read-only Plan/Review mode, keep the same tools schema with toolchoice="none" to preserve 100% of the prompt KV prefix cache
Hardware guidance: 4-6GB VRAM + 16GB RAM → Qwen2.5-Coder-7B; 6GB+ VRAM + 32GB RAM → Qwen3-Coder-30B-A3B comfortably. Benchmarks requested for GTX 1650/RTX 3050/3060 and RX 6600/7600.
More from coding & agent
- Filter Research Ideas with AI: Have Neon Implement It, Claude Reproduce, Drop If They Don't Match — cgarciae88 · 2026-11-28
- Four backend problems still blocking multi-agent systems from scaling past prototypes — TheInnvoator · 2026-11-28
- One-shot prompts are a party trick; prompt adherence makes or breaks real development, says mark_k — mark_k · 2026-11-28
- Unofficial Android port of Google's Antigravity IDE ships, built with Antigravity itself — ShaggyRaven123 · 2026-11-28
- Hermes Agent runs in VR: fully local stack on two DGX Spark units — Scobleizer · 2026-11-28
- Schema validation won't catch valid-looking wrong tool calls — where to put pre-flight checks — Top-Explanation-4750 · 2026-11-28