Repository navigation
AdapTQ v0.1.0 — Initial Public Release
🚀 AdapTQ v0.1.0 — Initial Release
First public release of AdapTQ: Adaptive Streaming Vector Quantization engine for efficient LLM KV-cache compression and attention.
✨ Features
- Hadamard-Accelerated Rotation (FWHT-based)
- 2/3/4-bit vector quantization (Max-Lloyd codebooks)
- LUT-driven attention (no full dequantization)
- Hybrid FP32 / Quantized execution (auto switch)
- Contiguous KVFlatBuffer (streaming-friendly)
- AVX2 optimized kernels
- Python (PyBind11) API support
⚡ Performance
- Up to 10×–17× speedup at long contexts
- 4×–16× KV memory reduction
- Stable cosine similarity ≈ 0.94+
📦 Install
pip install adaptq