#129 · Primary category: Inference & Local Deploy
kvpress
LLM KV cache compression made easy
Project last updated:08/18/26
GitHub Stars
1.2K
Forks
172
Contributors
31
License
Apache-2.0
Why we included this project
The key-value cache in transformers grows linearly with input length, which makes long-context inference genuinely expensive: a single 1M-token prompt can eat hundreds of gigabytes of GPU memory. kvpress goes straight at that bottleneck with a set of prefill-time compression methods, called presses, that plug into existing Hugging Face models through a drop-in transformers pipeline, so you can try them without restructuring your serving setup. Each press is training-free and exposes a compression-ratio attribute, and the project ships a leaderboard and benchmarks comparing methods, so you can gauge the accuracy and latency trade-off before committing. That makes it a practical place to start, whether you want to apply an established method or prototype your own.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.