BeeLlama.cpp Boosts KV Cache Quantization
Anbeeld · reddit · 2026-07-20
BeeLlama.cpp released v0.4.0, focusing on upgrades to KV cache quantization and precision control, backed by benchmarks.
Key changes include:
- Introducing KVarN (variance-normalized KV-cache quantization) for a better precision/performance balance at the same bit-width;
- Adding a KV cache precision tail that keeps recent tokens in BF16/F16 while quantizing the rest, preventing critical context from being corrupted;
- Supporting more standard KV cache types (q60/q61/q20/q21/q30/q31) for finer VRAM trade-offs;
- Tweaking DFlash's draft-max logic and adding reasoning-loop protection.
The author also published a companion article running KLD benchmarks with Qwen 3.6 27B and Gemma 4 31B to demonstrate the impact of these changes on precision and memory.
More from Infra
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- SF Compute founder: buying compute is 'an absolutely awful experience' right now — IgorCarron · 2026-09-11
- SmolVM open-sources persistent computer infrastructure for agents that outlive chat sessions — aniketmaurya · 2026-09-11
- PyTorch Day Korea 2026 launches first offline conf, CFP closes Sept 13 — PyTorch · 2026-09-11
- Local LLM server dilemma: 4x CMP-170HX (price up 53% in 20 days) vs Mac Studio M5 Ultra — rumboll · 2026-09-11
- llama.cpp lands Flash Attention tuning for RDNA4, big prefill gains on AMD — pmttyji · 2026-09-11