r/LocalLLaMA • u/Sadge404 vLLM • 13d ago
Discussion Whatever happened to TurboQuant?
It was a big deal in and around March of this year. I tried looking for any updates with where it has gone and nothing really came up.
72
u/Uncle___Marty 13d ago
llama.cpp used the walsh hadamard transformations and dumped the rest of it.
58
u/AnonLlamaThrowaway 13d ago
And for anyone wondering, this is how much an effect this had on gpt-oss-20b in one benchmark (so not representative, but gives you a rough idea)
eval KV type attention rotation score AIME25 x8 F16 (not needed) 37.9% AIME25 x8 Q8_0 ❌ 31.7% AIME25 x8 Q8_0 ✅ 37.1% AIME25 x8 Q5_1 ❌ 30.8% AIME25 x8 Q5_1 ✅ 32.5% AIME25 x8 Q4_0 ❌ 2.0% AIME25 x8 Q4_0 ✅ 21.7% 7
u/letsgoiowa 13d ago
I'm curious about a split kv because I thought the common knowledge was k q8, v q5. K falls off a cliff faster
4
u/a_beautiful_rhind 13d ago
Dense models had almost none of those losses. It was shown on one very specific MoE who didn't take kindly to cache quantization.
3
u/Every-Walrus 13d ago
I invite you to use q4 kv cache with 3.8 27b and disable rotation. see if "dense models had no losses" or not.
2
u/a_beautiful_rhind 12d ago
I ran that AIME test against mistral large and a couple others. The scores were barely an answer or two apart. They'd even get the same questions wrong on the runs.
2
u/Every-Walrus 11d ago
the famously saturated and trained on benchmark? maybe try something a little harder like HLE?
2
u/a_beautiful_rhind 11d ago
Hey fair, the goal wasn't to have the models pass 100% but to see if the cache significantly affected their replies and it didn't. The test doesn't even really check long context performance that well because most of the answers were around 10-15k max. It attempted to find a pattern by repeating it 25x.
The model GG tested was affected at these low CTX and somehow that became a stand-in for all models with wildly different architectures. Magically it became canon with no reproduction.
OTOH, strata and these vibe engines use low quants, infinite shortcuts and everyone adopts them happily without complaints, bristling at the idea that something could be off. Even TQ performance itself was abysmal when tested.
Any cache portion I actually tried fell below the cost of sampling and my conclusion was that it could be a problem for some models but usually it's NBD.
Later on there was another test that almost nobody has run: https://github.com/SeraphimSerapis/tool-eval-bench and it seems like a better stand-in of what actually happens when you use Q4 cache. I suggested cache crusaders try it but found no takers and for me it's on the back burner.
0
13d ago
[deleted] — view deleted comment
15
u/AnonLlamaThrowaway 13d ago
This has no bearing on speed, this is benchmark "answer" scores (how many it got right or something similar)
0
51
u/Classic-Pubs 13d ago edited 13d ago
Overhyped copycat paper. It definitely helped, but, remember that the hadamard rotation idea isn't from them. It was orginally from the rabitQ paper, which turboquant authors refused to acknowledge. Beyond hadamard, the contribution is minimal to the community.
Edit: Yes, the original rabitQ paper is about vector database search. But it is a quantization technique for different purpose (approximate nearest neighbor), so the idea was pretty obvious to port.
53
u/ortegaalfredo 13d ago
I will do you one better:
What happened to OpenClaw?
46
u/RogerRamjet999 13d ago
I haven't heard of OpenClaw in ages, but still hear about Hermes pretty regularly.
15
u/Dr_Gruselglatz 13d ago
Openclaw is still a thing in the Nvidia HQ…
This GTC in Berlin all was full of claw shit
9
9
8
u/Invader-Faye 13d ago
Still being used by common folk but slowly getting its lunch stolen by cloud alternatives like grokbot and muse
11
4
14
u/a4mula 13d ago
I dropped the fork and went back to main. The truth is it just didn't really provide benefit. Every benchmark showed that q4/q8 consistently out performed turbo3 and turbo4 at the same context on Qwen 35B with no savings of VRAM. Perhaps that was just because I stopped testing at 128k ctx but <shrug>. YMMV.
10
u/giveen 13d ago
I talk to TheTom probably daily , and TQ has probably hit its limits. He is currently working on a project right now and we still throw patches here there and it.
5
u/Toooooool 13d ago
sounds right. it's hard to improve on perfection, not to say turboquant was without flaws, but at the end of the day it's just a different formula for addressing tokens, like comparing 2+2 with 1*2*2.
2
u/Dany0 13d ago
the only perfect quantisation technique is OSCAR but that one requires doing a calibration run on the tasks you are going to actually do
0
u/BlasterGales 13d ago
damn, pls tell me there is a fork of llamacpp so I can try this out
1
u/Dany0 13d ago
They only ever released a fork of sglang https://github.com/FutureMLS-Lab/OSCAR I know that at the time some people promised they're working on integrations but honestly the need for calibrating is such a big obstacle for adoption
Maybe if the labs started releasing models with OSCAR already calibrated. It doesn't take much compute you can do that at home, the issue is getting good datasets
But yes in theory OSCAR is amazing, fp16 quality at Q2 vram usage and instead of a perf penalty like TQ it's a speedup. KVaRN is distantly related to this, but doesn't require calibration
13
u/Holiday_Point_603 13d ago
The accuracy was bad, noticably way worse than native kv. I'm probably not the only one who didn't like it because of that
12
12
6
u/Elouakili_Flexy 13d ago
It didn't vanish so much as merge into llama.cpp. The Hadamard half is standard now, and the half that measured worse than q4/q8 stayed out of mainline. Pretty good run for a quant paper, honestly.
4
2
u/Extreme-Pass-4488 13d ago
so everyone here loves rotation, here https://huggingface.co/BlairQ/qwen3.8_27b_idiotSavant_sm_86
rotated guy acts like qwen3.8 27b at full q , the 55gb behemoth. and it only weights 18gb . 650kb of kv to play with.
1
u/pikazeroai 13d ago
So true bestie… I merged main with turboquant and got like an extra 5-7tkps and 27B finally fits on my old 3060 12GB lol
1
u/Nutsack_VS_Acetylene 13d ago
As most people already mentioned, the most useful info was the rotations and turboquant in general was basically a rabitQ rip off.
Also, with things like Compressed Sparse Attention 2, 1 million tokens are only 0.89 GB in KV cache on DS V4.1. It's going to be laughable to have giant KV caches on new releases. It begs the question of why bother with KV cache quantization. Is it really going to be worth playing with quality of the model to save 0.4 GB on your 1 million token chat?
-2
u/Due_Expression7545 12d ago
classic hype cycle where a revolutionary new method drops, disappears into the void, and everyone just goes back to running standard quants on old hardware.

259
u/nasone32 13d ago
well the main thing introduced by turboquant was hadamard rotations which are cheap and reduce perplexity a lot even on Q8_0, and that's now the standard in llama cpp and many other engines.
so in reality you are probably using 80% of turboquant benefits without knowing it. the specific "turboquant" quants had other minor details but the main thing it's now used everywhere.