Skip to main content

PolarKV

Distributed KVCache Pool backend for LLM inference. Supports SGLang and vLLM.

Installation

pip install polarkv

Build From Source

Build the native SDKs from the repository root first, then assemble the wheel here:

cd ..
./build.sh client

cd python
./build_whl.sh
pip install dist/polarkv-*.whl

Usage

SGLang

--hicache-storage-backend dynamic \
--hicache-storage-backend-extra-config '{"backend_name": "polarkv", \
    "module_path": "polarkv.adapters.sglang", \
    "class_name": "PolarKVCache", \
    "polarkv_config_file":"/path/to/config.yaml", \
    "interface_v1":1 \
}'

vLLM

--kv-transfer-config '{"kv_connector": "PolarKVCache", \
    "kv_role": "kv_both", \
    "kv_connector_module_path": "polarkv.adapters.vllm", \
    "kv_connector_extra_config": {"config_file":"/path/to/config.yaml"} \
}'

Metadata

Release files for polarkv 1.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for polarkv 1.1.0
File Interpreter ABI Platform
polarkv-1.1.0-py3-none-any.whl Python 3 none any Details

Release files / polarkv-1.1.0-py3-none-any.whl

Download URL polarkv-1.1.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4a91db52ded2b535c74911beaeb93fe65a5afca6d27ae7677984cf6a92419da4
BLAKE2b-256 checksum
How to use checksums
e94611f04bfecb9cc5b0492cdfb6c3f0d95465e76eb042dbbbaa62fbcd825b61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for polarkv 1.1.0

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