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.1

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.1
File Size Uploaded Provenance Actions
vllm_kvblockd-0.1.1.tar.gz 143.5 kB Without provenance Details for vllm_kvblockd-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 224.4 kB

Release files / vllm_kvblockd-0.1.1.tar.gz

Download URL vllm_kvblockd-0.1.1.tar.gz
Size 143.5 kB
Tags Source
SHA-256 checksum
How to use checksums
46c4dec2e97909a05d9d548a804ff4d5516d6c2dc020ed6b78587011c1a85e73
BLAKE2b-256 checksum
How to use checksums
d95e32eb103dc0159305ac1f318223ec3bf7268d17fb7a1d293bf5965d7f05b5
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.1-py3-none-any.whl

Download URL vllm_kvblockd-0.1.1-py3-none-any.whl
Size 81.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
377da380ca27b37e1ba4528b76c136034ee23b951e279880eced0554d1ec448d
BLAKE2b-256 checksum
How to use checksums
228e24676de119e7e0b8a3b21588c49a7a385cecfddbac48a68fa852656cfc8e
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.1

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