HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pidtom

no profile record

Submissions

Skipping 90% of KV dequant work speeds up LLM decode by 22%

github.com
1 points·by pidtom·4 個月前·0 comments

comments

pidtom
·3 個月前·discuss
I built TurboQuant+ (https://github.com/TheTom/llama-cpp-turboquant), the llama.cpp implementation of this paper with extensions: asymmetric K/V compression, boundary layer protection, sparse V dequant, and this week weight compression (TQ4_1S) that shrinks models 28-42%% on disk with minimal quality loss. 5k+ stars, 50+ community testers across Metal, CUDA, and AMD HIP.

Cool to see the same WHT + Lloyd-Max math applied to vector search. The data-oblivious codebook property is exactly what makes it work for online KV cache compression too. No calibration, no training, just quantize and go.

If anyone is running local LLMs and wants to try it: https://github.com/TheTom/turboquant_plus/blob/main/docs/get...
pidtom
·3 個月前·discuss
Hey that's me! AMA
pidtom
·4 個月前·discuss
[dead]