Skip to content
项目

关于

OrbitKV 是一款用于大语言模型推理的高性能 KV 缓存系统。

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
-4
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

OrbitKV

OrbitKV is a High Performance KV Cache System for LLM Inference.

Documentation | Quickstart | Plan | Contributing

CI OrbitKV 0.1.0b1 on PyPI Apache 2.0 license

OrbitKV keeps reusable KV for prefixes, documents and conversations beyond GPU memory, in DRAM, local SSD and peer hosts, for vLLM and SGLang. A Rust Cache Manager owns identity, placement and leases. OrbiTE is the high-performance transfer engine for local cache copies, storage I/O and peer reads. On main, Managers can share an SSD root and release a partition’s capacity while its Manager continues serving DRAM.

OrbitKV’s high-performance KV cache system uses OrbiTE, its high-performance transfer engine, to move KV data between GPU memory, DRAM, SSDs and peer hosts.

Quick start

On a Linux CUDA 13 host, choose one engine per Python environment. This example installs the published beta with vLLM. For SGLang, select orbitkv[sglang]==0.1.0b1 in a separate environment. See the prerequisites and restart hit check.

uv venv --python 3.11 .venv
source .venv/bin/activate
uv pip install --torch-backend=cu130 'orbitkv[vllm]==0.1.0b1'
orbitkv-cache-manager --addr 127.0.0.1:50055 --http-addr 127.0.0.1:9091 --pool-size 8gb

In another terminal with that environment activated, choose vLLM:

VLLM_USE_V2_MODEL_RUNNER=0 vllm serve /path/to/immutable-model \
  --enforce-eager --enable-prefix-caching \
  --kv-transfer-config '{"kv_connector":"OrbitKVConnector","kv_role":"kv_both","kv_connector_module_path":"orbitkv.vllm"}'

Or SGLang:

ORBITKV_SGLANG_ENDPOINT=unix:///tmp/orbitkv-50055.sock \
  sglang serve --model-path /path/to/immutable-model --page-size 64 \
  --cuda-graph-backend-decode disabled --cuda-graph-backend-prefill disabled \
  --enable-unified-cache-external-linker --radix-cache-backend orbitkv

The published beta targets vLLM 0.33.0 and SGLang 0.5.23. CPU/TCP and io_uring have CI coverage. Installed GPU serving, RDMA and GDS still require hardware qualification. See compatibility and changes since the beta.

Contributing · Apache 2.0 license.

探索相关项目

加载中…