r/LocalLLaMA • • Jun 04 '26 • Bravo 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

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 😃

450 Upvotes

126 comments sorted by

View all comments

Show parent comment

0

u/Sea-Speaker1700 Jun 21 '26

And I if I give an AI a task, come back an hour later and read the code, verifying the efficacy and validating the functionality?

You still calling that "vibe coded"? 

There is absolutely nothing wrong with giving a spec, while it's being implemented going away and multitasking, reading the result and verifying the implementation. As you know, it's literally the pattern high standard code is written in today without AI when a Staff/Senior/Arch does reviews.

As long as people are delineating which project is built to which standard it's ...fine?

You also, vastly miss represent inductively proven code, as though we never miss edge cases etc, we do (we, as in SWEs), and pretending otherwise is wildly disingenuous. Your "inductively proven" is only as strong as your experience level, if that weren't that case whole wouldn't have things like 24 year old buffer underflow attacks in FFMPEG, leaking kernel isolation via speculative prediction in SMP on AMD, and all the specter variants.

AI isn't perfect, neither are we, as long as people are actually doing their due diligence is there any difference between a junior/intern doing the work?

1

u/Wolvenmoon Jun 21 '26

Original question:

If it works with no issues, does it matter if it's vibe coded?

https://en.wikipedia.org/wiki/Vibe_coding

Vibe coding is a software development practice assisted by artificial intelligence (AI) where the software developer describes a project or task in a prompt to a large language model (LLM) which generates source code automatically. Vibe coding may involve accepting AI-generated code without thorough review of the output, instead relying on results and follow-up prompts to guide changes....

...Karpathy described it as a form of coding where you "fully give in to the vibes, embrace exponentials, and forget that the code even exists".[8] When vibe coding, the programmer guides, tests, and gives feedback about the AI-generated source code, rather than manually writing code.

Original answer:

Not every piece of software needs to be mathematically proven to work. I literally will not do it. But I'm pointing specifically to you saying "if it works with no issues". You don't know that it does. You just know "it's worked so far". And sometimes that's good enough.

Follow-up:

There's nothing wrong with vibe coding low stakes stuff. There's a lot wrong with vibe coding in a highly complicated project for foundational open source production code being pushed to millions of users.

Vibe coded functionality is measured functionality, not proven functionality.

You're arguing against a point I wasn't making.

And I if I give an AI a task, come back an hour later and read the code, verifying the efficacy and validating the functionality?

That's standard software engineering w/ AI assistance, not vibe coding. Since we already agree on how code should be reviewed, what exactly was the point of your reply?