Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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-cann920-a3 0.9.0rc3

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-cann920-a3 0.9.0rc3
File Interpreter ABI Platform Actions
uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_x86_64.whl
uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64 Details for uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_aarch64.whl

Total release size: 10.8 MB

Release files / uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_x86_64.whl
Size 5.6 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
13f8c10201517d5084226ea1fe9501740c71d7b2b6707ed2b38d99753f99ca18
BLAKE2b-256 checksum
How to use checksums
4fef73a102077248ee181d0ea01f54a461b3828492a410b8974500df4688319a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.15

Release files / uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL uc_manager_cann920_a3-0.9.0rc3-cp312-cp312-manylinux_2_34_aarch64.whl
Size 5.2 MB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
ae524f10756fc3f4fcf788a14dd5e8542d747166b0330957c3c994cd701ea0db
BLAKE2b-256 checksum
How to use checksums
534cc4f5b50cda451c63d2732561b3c0a22cbc3fae8a9cc785ce42255ae25e1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.15

Security for uc-manager-cann920-a3 0.9.0rc3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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