KVStash integrations: SGLang, vLLM and LMCache
KVStash connects to SGLang, vLLM and LMCache through storage interfaces those projects already expose, with a small Python adapter installed next to the engine. No engine fork is needed.
Last updated
Which engines and versions are tested.
Each row says exactly what we ran, on which engine versions and GPUs. Open a row for setup, measured results and known limits.
- SGLang Storage backend (L3) for HiCache, SGLang's hierarchical cache Adapter sglang-kvblockd Versions tested 0.5.15.post1, 0.5.23 GPUs L40S, H100 GPU-tested
- vLLM Native KV connector, set with one vLLM flag Adapter vllm-kvblockd Versions tested 0.25.1, 0.27.1, 0.33.0 GPUs L40S, A10G, A100, L4 GPU-tested
- LMCache Remote storage plugin, loaded by name from the LMCache config Adapter lmcache-kvblockd Versions tested LMCache 0.5.6 (not recommended) GPUs L40S Path exists
- NVIDIA Dynamo / NIXL Planned after the SGLang and vLLM paths are current. Adapter Not built Versions tested None yet GPUs None yet Planned
- GPU-tested
- Run with that engine version on real GPUs, results published.
- Path exists
- Built and tested in CI, not yet qualified on GPUs.
- Planned
- No code yet.
The adapters are Python packages on PyPI. The KVStash daemon they talk to is a free download for Linux. To install, run and operate it, see the documentation.
How we keep up with vLLM and SGLang releases.
SGLang and vLLM ship a release every 11 to 17 days, and the interfaces KVStash plugs into change with them. Our tested versions are behind the latest releases; this is where we stand.
- SGLang 0.5.15.post1Benchmarked 0.5.23Latest release, GPU-tested for correctness
- vLLM 0.27.1Benchmarked 0.33.0Latest release, GPU-tested for correctness
Pin what we tested
Each adapter states the engine versions it was tested on. Anything newer is untested until this page says otherwise.
Test each release
A new release first goes through an interface check (do the classes and methods we use still exist with the same shape), then a GPU run, before we mark it tested.
Fail loudly, not quietly
When an adapter meets a memory layout or pool type it does not recognise, it logs an error and falls back to a slower correct path or a cache miss. The rule comes from vLLM 0.27, whose new KV layout first slowed reloads without a word.
What every adapter does the same way.
The engines differ; the rules for how an adapter treats the store do not.
Fails open
A store that is down, slow or returns a bad block becomes a cache miss, and the engine recomputes. Adapters do not raise errors into the serving path.
Exact prefixes only
A block is reused only when every block before it in the prompt matches.
Model identity in every key
Different models, revisions or cache settings sharing one store do not read each other's blocks.
Authenticated
Each adapter connects with a namespace and bearer token. Keep the data plane on a private network.
Running a different engine or version?
Tell us your engine, version, model and GPUs. We reply with whether a tested path exists, what we would need to test, and when KVStash is not worth it.
Or write to rudray@kvstash.com