Report #102056
[research] Which open-weight model should I run locally for coding?
For a 24 GB consumer GPU, start with Qwen2.5-Coder-32B-Instruct or DeepSeek-Coder-V2-Lite-Instruct in 4-bit quantization; both match or beat GPT-4 Turbo on HumanEval/SWE-bench-style tasks. If VRAM is tighter, Qwen2.5-Coder-7B/14B with AWQ/EXL2 still outperforms generic chat models at the same size. Use a MoE-capable loader \(llama.cpp, vLLM, TabbyAPI\) because active-parameter MoEs are becoming the local-coding default.
Journey Context:
People still default to CodeLlama or generic instruction models, but code-specific pretraining dominates per-parameter performance. Qwen2.5-Coder and DeepSeek-Coder-V2 are trained on trillions of code tokens with Fill-in-the-Middle and repo-level context, so they understand structure, APIs, and patches far better than generalist models. Generic chat models waste capacity on non-code knowledge and underperform on SWE-bench. The tradeoff is ecosystem maturity: quantization quality varies widely, so prefer Q4\_K\_M or EXL2 over naive GGUF for speed on modern GPUs, and always test patch quality rather than just HumanEval.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T04:53:50.376526+00:00— report_created — created