llama.cpp bug: quantized KV cache allocates more memory than f16 on Metal
PM_ME_YOUR_ROSY_LIPS · reddit · 2026-12-05
A user upgrading llama.cpp for Qwen4 found that on an M3 Pro (36GB), q80/q40 quantized KV cache now balloons memory usage — using more than f16 cache, the opposite of the intent. The issue reproduces across Qwen3.5-9B and Gemma4-12B, pointing to a change in llama.cpp itself rather than any model. Filed as GitHub issue #33801, apparently involving Metal compute buffer allocation with quantized KV cache.
More from Infra
- Indie-built SculptAttention skips most attention: 4.27x faster prefill at 660K context — fsn007 · 2026-12-05
- Qwen4-35B-A3B runs on 48GB M4 Pro in 8.42GB RAM at 120 tok/s via dmlx — zouyee · 2026-12-05
- Qwen 35B at 38 t/s decode on an RTX 3060 via Unsloth Desktop — Desther · 2026-12-05
- Blogger accuses Neocloud execs and NVIDIA's CFO of misleading investors at UBS Tech Conference ahead of 10-Q delay — churchkey · 2026-12-05
- Dev says he made FAISS 1.5-2x faster at best-match search; Facebook shipped it — imdigitalashish · 2026-12-05
- Should I keep an 8GB Ada + 16GB Blackwell dual-GPU rig for local LLMs? — clduab11 · 2026-12-05