tonbistudio/turboquant-pytorch
From-scratch PyTorch implementation of Google's TurboQuant (ICLR 2026) for LLM KV cache compression. 5x compression at 3-bit with 99.5% attention fidelity. observed · 2026-08-28
Health v2 · maintenance only
50/100
- Activity 78
- Release rhythm 35
- Longevity 11
Flags: no_releases young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 161
- days_rel: n/a
- days_push: 132
- n_releases_24m: 0
Adoption not part of the score
1040 stars · 138 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A from-scratch PyTorch implementation of Google's TurboQuant (ICLR 2026) algorithm for compressing LLM key-value caches, including an improved V3 variant that removes the paper's QJL component. It provides quantized KV cache utilities with verified compression/attention-fidelity benchmarks.
Use cases
- compress llm kv cache to fit longer contexts in gpu memory
- quantize key-value cache to 3-4 bits in pytorch
- reproduce turboquant paper results
- run long-context llm inference with lower memory usage
- benchmark kv cache compression against attention fidelity
- implement vector quantization for transformer caches
When to choose
- you need KV cache compression for LLM inference in PyTorch
- you want to reproduce or extend the TurboQuant paper
- you need verified, benchmarked quantization with honest results reporting
When to avoid
- you need production-ready, drop-in KV cache compression for a serving stack
- you expect the advertised 5x compression at 3-bit to work for generation - tests show 3-bit output is broken
- you use non-NVIDIA GPUs or non-PyTorch frameworks
Facets
library · maturity active
machine-learning deep-learning llm-inference caching compression large-language-models deep-learning machine-learning performance python windows cross-platform kv-cache-compression vector-quantization pytorch quantization llm-optimization research-reproduction gpu linux
1 source
- readme: https://github.com/tonbistudio/turboquant-pytorch · fetched 2026-08-28 · 3e0cea7b84ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tonbistudio/turboquant-pytorch | main | 50 |
For agents
markdown · JSON · MCP: product_card(name="tonbistudio/turboquant-pytorch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem