Running a 35B model on 11GB VRAM: MoE offload plus KV cache quantization tricks
QuixiAI · x · 2026-12-06
- Qwen4-35B-A3B runs on an 11GB card (1080 Ti) at 36 t/s short-context and 21 t/s at 119k context — 4-5x what people typically get, by fitting it into VRAM rather than buying a bigger card.
- The recipe: --n-cpu-moe 28 keeps most MoE expert weights in system RAM; -ctk q80 -ctv q80 halves the KV cache vs f16; and since the hybrid model has only 10 of 41 layers doing full attention, 128k KV is small to begin with.
- If a 4090 fills up, it's usually all experts on GPU plus an f16 cache: quantize the cache first, then offload expert layers one at a time, trading a bit of speed per layer.
More from Infra
- Investor Gavin Baker: Huawei may catch Nvidia in AI hardware before US labs hit RSI — GavinSBaker · 2026-12-06
- Rust clean-room rewrite of Nvidia's kernel driver hits 7k GitHub stars, removes software locks — QuixiAI · 2026-12-06
- A800 chips trained China's satellite AI legally under Biden-era rules, sparking export-control debate — kevinnbass · 2026-12-06
- Antigravity side questions show 0% cache hit, same issue as Codex — YouJiacheng · 2026-12-06
- Amazon says Trainium4 on track for 10x compute, 5x memory bandwidth vs Trainium3 — Beth_Kindig · 2026-12-06
- Qengine hits 450+ tok/s on a single RTX 3090 running Qwen4-35BA3 locally — Life_is_important · 2026-12-06