Skip to main content

vllm-kvblockd: vLLM KV connector for KVStash

Lets vLLM store prompt KV-cache blocks in a KVStash daemon and load them back instead of recomputing long prompts, across engine restarts and across servers.

  1. Get the daemon (free download) and start it: curl -fsSL https://kvstash.com/install.sh | sh, then https://kvstash.com/docs/quickstart/
  2. Install next to vLLM: pip install vllm-kvblockd
  3. Start vLLM with the connector:
export PYTHONHASHSEED=0   # required on every worker
vllm serve MODEL --kv-transfer-config '{
  "kv_connector": "KvblockdConnector",
  "kv_role": "kv_both",
  "kv_connector_module_path": "vllm_kvblockd.connector",
  "kv_connector_extra_config": {
    "kvblockd_endpoint": "kvblockd://STORE_HOST:9440",
    "kvblockd_namespace": "vllm",
    "kvblockd_token": "YOUR_TOKEN",
    "kvblockd_streams": 8,
    "kvblockd_get_fanout": 8
  }}'

Checked end to end with vLLM 0.33.0 (official image) on 8 November 2026: blocks stored, reloaded into a restarted engine, same answer. One GPU per engine (tensor parallel 1).

Metadata

Release files for vllm-kvblockd 0.1.2

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

Source distribution (sdist)

Source distribution for vllm-kvblockd 0.1.2
File Size Uploaded Provenance Actions
vllm_kvblockd-0.1.2.tar.gz 143.5 kB Without provenance Details for vllm_kvblockd-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vllm-kvblockd 0.1.2
File Interpreter ABI Platform Actions
vllm_kvblockd-0.1.2-py3-none-any.whl Python 3 none any Details for vllm_kvblockd-0.1.2-py3-none-any.whl

Total release size: 224.7 kB

Release files / vllm_kvblockd-0.1.2.tar.gz

Download URL vllm_kvblockd-0.1.2.tar.gz
Size 143.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a4d4a1bd2308abaa20e9f6fe10c46bef3507ee564db373c06ec2ee2e64c9569a
BLAKE2b-256 checksum
How to use checksums
fe52755952cc8246e0d8deeed86e86a70da93e95476ab6d52736ee2dfdd22cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / vllm_kvblockd-0.1.2-py3-none-any.whl

Download URL vllm_kvblockd-0.1.2-py3-none-any.whl
Size 81.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
220bd4cf919b78eeb911001033dd72b2e67be341e18fb95ed21594771728b581
BLAKE2b-256 checksum
How to use checksums
f594b2a219f3c2a241ce7fe440914640b8cd51c21132ea9edf8d53d2f80c52fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for vllm-kvblockd 0.1.2

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