Other/GitHub/Framework

kvcached

by ovg-project·Last observed 2026-10-27
★ 2,009 stars⑂ 234 forks

kvcached is a KV cache library for LLM serving and training on shared GPUs. It separates GPU virtual addressing from physical KV-cache allocation, reserving virtual memory first and backing it with GPU memory when used. This enables dynamic allocation and sharing for changing workloads and integrates with SGLang and vLLM.

Useful for

  • Serve multiple LLMs concurrently on a shared GPU, allowing them to share GPU memory elastically.

Key features

  • Allocate and reclaim KV memory dynamically, with configurable memory limits.
  • Route requests to target models and put idle models to sleep; supports automatic prefix caching with a configurable memory bound.

Requirements & limitations

  • The documented setup requires Python, PyTorch 2.10, and SGLang or vLLM; the project notes it has not fully tested every serving-engine version.

Project information

CategoryOther
TypeFramework
Author / organizationovg-project
LicenseApache-2.0
Last observed2026-10-27

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote