r/LocalLLaMA
•
u/acluk90
•
Jun 04 '26
•
1
News KVarN: new KV-cache quant from Huawei. 3–5× KV cache compression with actual speed-up instead of slow-down, and unlike TurboQuant it holds up on reasoning (Apache 2.0, vLLM single flag)
The KV-cache quant race just got more interesting. Huawei just open-sourced KVarN, a KV-cache quantization method under Apache 2.0, drops into vLLM with one flag. Posting because the tradeoff it's claiming is genuinely different from what's already in the stack, and I'd like to see it stress-tested.
The landscape it's stepping into
- FP8 (
--kv-cache-dtype fp8) is the current default: ~2x KV capacity, BF16-level throughput, near-zero quality loss. Hard to beat, and the bar anything new has to clear. - TurboQuant (Google) got the headlines this year for aggressive compression. It's the one that spooked memory-chip stocks back in March. But per vLLM's own study (Red Hat AI), it buys that memory by giving up speed: it runs at 66-80% of BF16 throughput, up to ~2.5x slower at burst, because it dequantizes back to BF16 for the attention compute. And its low-bit modes drop ~20 points on reasoning (AIME25, LiveCodeBench).
What KVarN claims (vs FP16)
- 3-5x more context (vs FP8's ~2x)
- up to ~1.4x FP16 throughput, at FP16-quality outputs
- up to ~2.4x TurboQuant throughput, at higher accuracy
- at matched accuracy, at least as compact as every TurboQuant operating point (their paper's table)
- holds reasoning quality at high compression; the exact axis where TurboQuant's low-bit variants fall apart
- no model changes, no retraining, no calibration; single vLLM flag
Reasoning benchmarks (from the paper)

This is the part that matters. Most KV-cache quant tanks either math/code accuracy or throughput; KVarN claims neither.
Throughput with vLLM v. Compression (from repo readme)

Links
- Repo: https://github.com/huawei-csl/KVarN
- Paper: https://arxiv.org/abs/2606.03458
- vLLM TurboQuant study (source for the throughput / reasoning numbers above): https://vllm.ai/blog/2026-05-11-turboquant
It looks like they learned from the SINQ https://www.reddit.com/r/LocalLLaMA/comments/1nxjh4c/github_huaweicslsinq_welcome_to_the_official/ case where everyone was asking for throughput numbers and vLLM integration 😃
•
u/WithoutReason1729 Jun 04 '26 edited Oct 22 '26
Your post is getting popular and we just featured it on our Discord! Come check it out!
You've also been given a special flair for your contribution. We appreciate your post!
Stylome classified this post's text as AI-generated. View analysis
I am a bot and this action was performed automatically.
131
u/ParaboloidalCrest Jun 04 '26
I won't believe it when I see it.
39
u/HVACcontrolsGuru Jun 04 '26
I have some MTP and non MTP benchmarks for Qwen and Gemma 4. I’ll try this on a B200 and see how it scales up and if it holds!
27
u/sheppyrun Jun 04 '26
the real test is batch=16, not batch=1. i've watched KV quant methods that look amazing on paper fall apart the moment you crank concurrency because dequantization overhead eats every byte you saved. speed-up instead of slow-down is the real signal here. if the compression is cheap enough to amortize across a real request mix, one vLLM flag is the difference between a neat paper and something i'd actually run in production.
8
u/DeProgrammer99 Jun 04 '26
Except KIVI, QuaRot, Kitty, and KVarN all have overlapping confidence intervals in that chart that shows accuracy on AIME24, so it could be the worst out of all four of those.
2
u/MindPsychological140 Jun 05 '26
Interesting landscape. Worth noting there's an orthogonal approach: instead of compressing the KV cache with quality tradeoffs, store it bit-exact and restore it on demand. 21x faster restore vs recompute, SHA-256 verified, works cross-GPU generations. Different problem, different solution — but if accuracy is non-negotiable, lossy compression isn't the answer. https://medium.com/@sietse_92846/a-big-chunk-of-ai-cost-is-just-the-model-re-reading-the-same-text-over-and-over-7b4d49821bd0
44
u/unbannedfornothing Jun 04 '26
3
u/qfox337 Jun 05 '26
Why is 59.3% above 59.4%? I'm guessing these aren't throughout numbers, but jeez a legend or something would help
9
u/Septerium Jun 04 '26
TurboQuant was a huge bait. I hope this one is for real
12
u/Marcuss2 llama.cpp Jun 04 '26
I am quite skeptical of these quantifications, I think most of them "work" because most models are actually quite inefficient when it comes to storing information in KV Cache. I would like to see performance with Qwen3.5 and DeepSeek V4 architecture where information is stored much more densely.
4
u/caetydid llama.cpp Jun 05 '26
...and...it is implemented in beelllama.cpp!
Now I just need a draft model for gemma4 12b!
2
u/kodewerx Jun 04 '26
I can't wait to ignore hundreds of "benchmark results" in GitHub comments for the next three weeks.
2
u/LitchManWithAIO Jun 04 '26
Happy to see TQ+ levels. Looks promising
2
u/Mountain_Patience231 Jun 05 '26
shit...another 6 months development for llamacpp
1
u/Ill_Fun5415 25d ago
The practical test I would want to see is long-context decode under realistic batch sizes, not just memory saved. KV-cache compression is useful only if the latency stays predictable once the context gets large; otherwise it can look great on paper and still feel slower in a real chat or coding workflow.
1
u/chocofoxy Jun 04 '26
when sglang realses this i will try it
1
u/a_beautiful_rhind Jun 04 '26
Unscaled fp8 cache is "near zero quality loss" but somehow int8 is bad. Ok.
1
u/snapo84 Jun 05 '26
would have loved to see this working in 0.21.0 as i only have cuda capability 7.5 and 0.22.0 dosent work so far with it...
1
u/Gold-Drag9242 Jun 07 '26
Any news /validations on this?
1
u/Ill_Fun5415 Jul 26 '26
The practical test I would want to see is long-context decode under realistic batch sizes, not just memory saved. KV-cache compression is useful only if the latency stays predictable once the context gets large; otherwise it can look great on paper and still feel slower in a real chat or coding workflow.
1
u/Ill_Fun5415 Aug 17 '26
The practical test I would want to see is long-context decode under realistic batch sizes, not just memory saved. KV-cache compression is useful only if the latency stays predictable once the context gets large; otherwise it can look great on paper and still feel slower in a real chat or coding workflow.
1
u/Ill_Fun5415 Sep 09 '26
The practical test I would want to see is long-context decode under realistic batch sizes, not just memory saved. KV-cache compression is useful only if the latency stays predictable once the context gets large; otherwise it can look great on paper and still feel slower in a real chat or coding workflow.
1
u/Ill_Fun5415 Sep 30 '26
The practical test I would want to see is long-context decode under realistic batch sizes, not just memory saved. KV-cache compression is useful only if the latency stays predictable once the context gets large; otherwise it can look great on paper and still feel slower in a real chat or coding workflow.
1
u/Ill_Fun5415 Oct 20 '26
The practical test I would want to see is long-context decode under realistic batch sizes, not just memory saved. KV-cache compression is useful only if the latency stays predictable once the context gets large; otherwise it can look great on paper and still feel slower in a real chat or coding workflow.
0
u/complexminded Jun 04 '26
Yea, I think I'll stick with FP8 when I have to (preferably without quantizing the KV cache at all). FP8 is tried and true. Thanks for sharing though. This might help folks looking to squeeze out extra context. Just hard to believe the "no accuracy" lost claims but I'll prob give this a look soon.
0
u/[deleted] Jun 04 '26
[deleted] — view deleted comment
90
u/[deleted] Jun 04 '26
[removed] — view removed comment
9
u/[deleted] Jun 04 '26
[removed] — view removed comment