#7878th of 109 in Model serving

kvcached

Elastic KV cache for vLLM and SGLang using GPU virtual memory

Releases and problems feed (RSS)

Stars
2.1k
License
Apache-2.0
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+1,174
28 Apr 2026: 881 stars5 May 2026: 887 stars12 May 2026: 1,004 stars19 May 2026: 1,030 stars26 May 2026: 1,038 stars2 Jun 2026: 1,047 stars9 Jun 2026: 1,055 stars16 Jun 2026: 1,059 stars23 Jun 2026: 1,066 stars30 Jun 2026: 1,076 stars7 Jul 2026: 1,084 stars14 Jul 2026: 1,091 stars21 Jul 2026: 1,102 stars28 Jul 2026: 1,114 stars4 Aug 2026: 1,122 stars11 Aug 2026: 1,125 stars18 Aug 2026: 1,133 stars25 Aug 2026: 1,138 stars1 Sept 2026: 1,234 stars8 Sept 2026: 1,356 stars15 Sept 2026: 1,383 stars22 Sept 2026: 1,466 stars29 Sept 2026: 1,498 stars6 Oct 2026: 1,509 stars13 Oct 2026: 1,635 stars20 Oct 2026: 1,854 stars27 Oct 2026: 2,010 stars3 Nov 2026: 2,017 stars10 Nov 2026: 2,037 stars17 Nov 2026: 2,050 stars24 Nov 2026: 2,055 stars

881 on 28 Apr 20262,055 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

kvcached is a Python library that plugs into vLLM or SGLang and decouples GPU virtual addressing from physical memory for the KV cache. Engines reserve virtual space up front and get physical memory only when the cache is used, so several models can share one GPU without fixed memory partitions. It also includes a CLI for memory limits, a frontend router with sleep mode, and prefix caching.

Who it is for: Engineers running several LLMs on shared GPUs with vLLM or SGLang

Strengths

  • Lets multiple LLMs share one GPU without static memory reservation per engine
  • Reported 2-28x TTFT reduction serving three Llama-3.1-8B models on one A100-80G
  • Covers MHA, GQA, MLA, sliding-window and hybrid attention, plus prefix caching
  • Installs as a plugin to existing engines; ROCm supported as of v0.1.6

Weaknesses

  • Works only with vLLM (>= 0.17.0) and SGLang (>= 0.5.11), not other engines
  • Requires PyTorch >= 2.10 and installs with --no-build-isolation
  • Not tested against every engine version; per-model results tracked in a GitHub issue
  • On ROCm the non-contiguous KV layout is required in practice; contiguous not recommended

What it needs

  • GPU required
  • Docker
  • Needs PyTorch >= 2.10, vLLM or SGLang, Python 3.10-3.13
  • Models: DeepSeek-V3, Qwen3-8B, GPT-OSS-20B, Qwen3.5-9B, Qwen3.8-27B

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Model serving

See all 109
Also in Model serving
RankProjectScore
#76sonarvLLM-based inference engine for Hugging Face models with OpenAI-compatible API1.9k starsAGPL-3.063 out of 100
#77distributed-llamaSplit LLM inference across home devices over Ethernet using tensor parallelism3.1k starsMIT62 out of 100
#79Text Generation Web UILocal LLM chat UI and API with five switchable loader backends47.7k starsAGPL-3.060 out of 100
#80bonsai-demoLauncher scripts for running Bonsai 2 ternary-quantized LLMs locally via llama.cpp or MLX3.6k starsApache-2.060 out of 100
#81production-stackHelm-deployed vLLM cluster with request router and Grafana monitoring2.7k starsApache-2.059 out of 100