Skip to main content

UCM

Unified KV Cache management for LLM inference

Documentation · Quickstart · Website · 中文

DeepWiki

What is UCM?

Unified Cache Manager (UCM) is a unified KV Cache layer between inference engines and storage. It manages cache reuse, placement, and movement so that compatible requests and inference instances can reuse existing computation.

Agent workflows, multi-turn conversations, and multimodal applications often revisit the same context. UCM makes reusable KV Cache available beyond an individual inference process and extends cache capacity through external storage. This helps reduce repeated computation and the pressure on accelerator memory.

Engine adapters, cache mechanisms, and storage backends can evolve independently through pluggable interfaces.

Architecture

UCM logical architecture: inference workloads and engines, unified cache lifecycle management, and a global KV store with pluggable backends.

  • Applications and inference engines produce and consume KV Cache. Reuse patterns include multimodal context, shared prefixes, and cached chunks used by mechanisms such as KV Bridge.
  • Unified Cache manages the cache's usage lifecycle: what to reuse, where to retain it, and when to move it. Prefill/decode (PD) transfer is one form of cache movement. Pluggable retrieval and loading strategies also support sparse attention.
  • Global KV Store provides a common storage abstraction over file systems, memory pools, and other backends. Store implementations handle retention, reclamation, and reliability according to their capabilities.

Feature availability and storage guarantees depend on the selected engine, model, platform, and backend; see supported configurations.

Getting Started

  1. Check the support matrix for a compatible configuration.
  2. Follow the Quickstart to select installation artifacts, configure storage, and run an engine with UCM.
  3. Use the operations guide to verify cache reuse and inspect runtime behavior.

Installation commands, image tags, engine versions, and configuration examples are maintained in the documentation. For deployment problems, see troubleshooting.

Contributing & Community

Contributions to engine adapters, storage backends, cache mechanisms, tests, and documentation are welcome.

License

UCM is licensed under the MIT license with additional conditions. Read LICENSE for the full terms.

Metadata

Release files for uc-manager-cuda-cu129 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for uc-manager-cuda-cu129 0.8.0
File Interpreter ABI Platform
uc_manager_cuda_cu129-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
uc_manager_cuda_cu129-0.8.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details

Total release size: 8.9 MB

Release files / uc_manager_cuda_cu129-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL uc_manager_cuda_cu129-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 4.6 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
948bc90728e06967e369a113738ad8b51a50f32710c4aa3f14ef09c818fb34e1
BLAKE2b-256 checksum
How to use checksums
f1a7185e282b84edda52a893d653d7dbbf3b3e8de40a38845a2c13821bd666d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.14

Release files / uc_manager_cuda_cu129-0.8.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL uc_manager_cuda_cu129-0.8.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 4.3 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
6964993f233d4d67595abd06a7b31712c7be065e3c57f66042ae6d3929a24772
BLAKE2b-256 checksum
How to use checksums
6f08e81b2cfa3e1a29d26b82ea8696137a9b62f5c55434f5b703692a604ad7b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page