Topics / #kv-cache

Kv-cache projects on GitHub

Techniques for caching attention key-value states to speed up LLM inference.

As of , the most-starred Kv-cache projects on GitHub are ds4 (24.4K stars), Agent-Skills-for-Context-Engineering (18.4K stars) and LMCache (12.5K stars). GitHub.Locker tracks 16 Kv-cache repositories with 90.9K stars combined. The fastest-growing on December 1 was ai-infra-book, with +29 stars in a day.

16Projects
90.9KStars in total
+110Stars in a day

Hot right now

Most stars gained in a day · Dec 1

The all-time top

16 projects · by stars

  1. #1 · antirez/ds4

    ds4

    DwarfStar (ds4) is a small, self-contained local inference engine specialized for running DeepSeek V4 Flash and PRO, plus GLM 5.2/5.3, on consumer hardware like high-memory Macs, NVIDIA GPUs, and AMD Strix Halo systems.

    24.4K
  2. #2 · muratcankoylan/Agent-Skills-for-Context-Engineering

    Agent-Skills-for-Context-Engineering

    A curated collection of Agent Skills that teach context engineering, multi-agent architecture, and production agent system design, so an AI agent can load the right skill when it needs to manage context, memory, evaluation, or harness design.

    18.4K
  3. #3 · LMCache/LMCache

    LMCache

    LMCache is a KV cache management layer for LLM inference that turns the KV cache from a temporary, per-process state into reusable, persistent 'AI-native knowledge' that can be shared across serving engines, reducing time-to-first-token and boosting throughput for long-context, multi-turn, and RAG workloads.

    12.5K
  1. 4

    3FS

    10.5Kdeepseek-ai/3FS · C++

    3FS (Fire-Flyer File System) is a high-performance distributed file system built by DeepSeek to handle AI training and inference storage workloads at scale, pooling thousands of SSDs and hundreds of storage nodes behind RDMA networking into one shared storage layer.

  2. 5

    ai-infra-book

    8.5Kbojieli/ai-infra-book · Python

    An open-source book, 'Understanding AI Infra: Quantitative Analysis and System Design' by Bojie Li, that derives LLM inference and training system designs from hardware constraints and model architecture using quantitative, order-of-magnitude estimates.

  3. 6

    MSA

    3.5KEverMind-AI/MSA · Python

    MSA (Memory Sparse Attention) is an end-to-end trainable, scalable latent-memory framework that lets LLMs handle context windows up to 100M tokens, replacing RAG or fixed-size RNN-style memory with a differentiable sparse-attention memory bank.

  4. 7

    openlake

    3.1Kopenlake-project/openlake · Rust

    OpenLake is a storage engine for AI infrastructure. It keeps GPUs fed during training and inference, with high throughput for small I/O and cache-like speed while staying fully persistent and durable.

  5. 8

    HyperQwen

    2.8Ksyv-ai/HyperQwen · Python

    HyperQwen is a self-hosted serving setup that runs the Qwen3.8-27B model on a single 24 GB consumer GPU (like an RTX 3090) using vLLM, exposing it through an OpenAI-compatible API.

  6. 9

    TensorFold

    2.3Kashhart/TensorFold · Zig

    TensorFold is an LLM inference engine that serves open-weight language models through an OpenAI-compatible API, running them on Apple Silicon via MLX or on NVIDIA GPUs via CUDA.

  7. 10

    zero-to-sglang

    2.3Kdatawhalechina/zero-to-sglang · Python

    The official SGLang x Datawhale course on LLM inference: it teaches how inference engines work, has you build a mini-sglang from scratch, and then digs into the real SGLang source code.

  8. 11

    TypeLLM

    982TypeLLM/TypeLLM · Python

    TypeLLM adds type-safe, schema-guaranteed output generation to existing open autoregressive LLMs, without changing their weights or architecture, letting models still think freely while returning typed JSON Schema-constrained answers.

  9. 12

    hyperflare-inference

    821NVIDIA/hyperflare-inference · Rust

    Flare is a local inference server built specifically for NVIDIA SM120/SM121 GPUs, designed for long conversations, coding agents, and repeated tool use. It is a research prototype released as open source to gather early feedback and enable collaboration.

  10. 13

    ComfyUI-MiniMax-H3-LongMedia

    326vizart-vj/ComfyUI-MiniMax-H3-LongMedia · Python

    A set of production-oriented custom nodes for ComfyUI that run MiniMax H3 for long-form video and audio generation: reference editing, MultiClip planning, camera direction, fixed segmentation, lip-sync and redubbing, latent hi-res refinement, and low-VRAM-safe execution.

  11. 14

    InstinctFlash

    197General-Instinct/InstinctFlash · Python

    InstinctFlash is a high-performance serving runtime for robotics foundation models - it loads checkpoints like GR00T, Cosmos3, pi0.5, LingBot-VA/VLA and DreamZero, applies acceleration (FP8, fused Triton kernels, caching) and serves them over Python or WebSocket, reporting up to 33.78x speedup on Jetson Thor.

  12. 15

    pd-bridge

    151chadhurley25075-png/pd-bridge · Python

    pd-bridge serves one DeepSeek-V4-Flash request across two machines: prefill runs on NVIDIA DGX Sparks (CUDA/vLLM), decode on a Mac Studio (Metal/oMLX), linked by ordinary 10GbE Ethernet.

  13. 16

    open-jev

    139daseinlabs/open-jev · Python

    An open implementation of Jev: a local Gemma 3 4B (via MLX) scores a list of pre-written options against a context in one batched forward pass on Apple silicon — no text generation, just log-probabilities per option.

Often tagged together