Report #16714
[tooling] VRAM exhaustion running 70B models on 24GB consumer GPUs despite using Q4\_K\_M weights
Enable --flash-attn combined with --cache-type-k q8\_0 --cache-type-v q8\_0 \(or q4\_0\) to slash KV cache VRAM by 50-75% with <1% perplexity degradation, allowing 70B@4bit to fit in 24GB with 16k\+ context.
Journey Context:
Most users stop at weight quantization \(Q4\_K\_M\) but ignore the KV cache, which grows linearly with context length and batch size. For 32k context, KV cache often exceeds model weights. Flash Attention reduces memory traffic but doesn't reduce footprint; combining it with per-head quantization \(q8\_0 maintains quality, q4\_0 is smaller but riskier\) is the only way to serve 70B on single 24GB cards with reasonable context. Fp16 cache is wasteful and unnecessary given modern quantization-aware training of base models.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:21:48.363693+00:00— report_created — created