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.
8 repos in Run models locally matching “kv-cache”
Runtimes, inference servers and quantisation for running models on your own hardware.
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 22 days 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›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.