Smaller LLM memory caches with accurate attention.
Guides implementation of compressed LLM key-value caches in PyTorch while preserving attention inner products.
When to use it
Use when implementing TurboQuant compression or reducing the memory used by an LLM's key-value cache.
Give it a project needing compressed LLM caches; it provides code for compressing keys and values and computing attention.
What you provide
Requires Python to run the implementation's validation commands; no Python version is specified.
The implementation uses PyTorch and lists torch version 2.0 or newer in its requirements.
This skill
pip install -r requirements.txt
Installs quantization dependencies