Skip to content
Projetos

Sobre

OrbitKV é um sistema de cache KV de alto desempenho para inferência de LLMs.

IA e aprendizado de máquina

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
-4
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

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.

Explore projetos relacionados

Carregando…