Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
13 repos matching “kv-cache”
Learn AI
Stars:751Awesome-KV-Cache-Compression
Must-read papers on KV Cache Compression (constantly updating ).
MIT · updated 3 months agoDetails›Run models locally
Stars:12.4kLMCache
LMCache: Supercharge Your LLM with the Fastest KV Cache Layer
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:6.8kLLMLingua
[EMNLP'23, ACL'24] To speed up LLMs' inference and enhance LLM's perceive of key information, compress the prompt and KV-Cache, which achieves up to 20x compression with minimal performance loss.
Python · MIT · updated 21 days agoDetails›LLM & RAG frameworks
Stars:2.3kzero-to-sglang
Official SGLang x Datawhale course on LLM inference: understand inference, build a mini-sglang from scratch, then read the real SGLang source and land your first PR. Available in English and Chinese.
Python · updated 13 days agoDetails›Open models
Stars:1.4kKVCache-Factory
Unified KV Cache Compression Methods for Auto-Regressive Models
Python · MIT · updated 3 months agoDetails›Run models locally
Stars:1.3kkvpress
LLM KV cache compression made easy
Python · Apache-2.0 · updated 15 days agoDetails›Run models locally
Stars:630Deepdive-llama3-from-scratch
Achieve the llama3 inference step-by-step, grasp the core concepts, master the process derivation, implement the code.
Jupyter Notebook · MIT · updated 1 year agoDetails›AI agents
Stars:550Flide
🔥🔥 The extremely fast inference engine for decision model
Python · Apache-2.0 · updated 10 days agoDetails›Open models
Stars:542H2O
[NeurIPS'23] H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models.
Python · updated 2 years agoDetails›Run models locally
Stars:521KVarN
KVarN is a native vLLM KV-cache quantization backend for your agents: 3-5x more context, throughput above FP16, and FP16-level accuracy. Calibration-free, one flag.
Python · Apache-2.0 · updated 5 months agoDetails›Run models locally
Stars:405llamAmpere
llama.cpp fork for significantly improved performance on Ampere generation Nvidia cards (especially RTX 3090 / 3090 Ti): example: 110+ tok/s over a 100K-token generation at temperature 1 for qwen3.8, supporting full 262K ctx. Supports low memory (12gb) configs for 200k+ ctx. 120+ TPS, 3300+ prefill…
C++ · MIT · updated 11 days agoDetails›Run models locally
Stars:363KVSplit
Run larger LLMs with longer contexts on Apple Silicon by using differentiated precision for KV cache quantization. KVSplit enables 8-bit keys & 4-bit values, reducing memory by 59% with <1% quality loss. Includes benchmarking, visualization, and one-command setup. Optimized…
Python · updated 1 year agoDetails›Run models locally
Stars:80local-llm-tuning-guide
A decision library for running local LLMs on multi-GPU machines without NVLink: parallelism, communication, quantization, speculative decoding, KV cache. Every conclusion carries its evidence grade and reproducible conditions.
Python · MIT · updated 19 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.