Zellige releases BasinKV KV cache offloading for llama.cpp, SGLang, vLLM
Start here
Zellige released BasinKV, an open-source KV cache offloading layer for llama.cpp, SGLang and vLLM. It keeps a fixed-size working set of KV blocks per full-attention head in GPU memory (2,048 tokens by default) and moves the full KV history to pinned host RAM or NVMe, stored as INT8 by default, uncompressed BF16 when RAM is plentiful, or rotated 4-bit WHT-INT4 for maximum compression. Zellige says BasinKV extends the OasisKV lookahead-prefetch architecture. Zellige reports that on a 24 GB NVIDIA L4 running llama.cpp with Qwen3.6-35B-A3B Q4_K_M at 256K context, stock llama.cpp hits CUDA out-of-memory from 64K, while BasinKV holds GPU KV plus index in 84.75 MiB and decodes at 69.86 tok/s at d=0, falling to 67.12 tok/s at 256K. A later release adds Qwen4-35B-A3B support: Zellige says it runs 256K context within 21.8 GiB on the same L4, where stock llama.cpp runs out of memory at 32K, and beats stock 256K decode by 14.7% on A100-80GB (77.1 vs 67.2 tok/s) and MI300X (89.8 vs 78.3 tok/s) with 7.0–7.2 GiB less GPU memory. That Qwen4 path keeps the model's trained indexer on GPU with an 8x smaller pooled key cache and streams cold KV from pinned host memory over zero-copy PCIe UVA; native QSA offloading is currently in llama.cpp only, with SGLang and vLLM V1 QSA integrations planned. Zellige notes limits: the vLLM plugin persists host KV formats only (none, int8, wht_int4) with no Quest or SphereIndex block index; stock full-HBM serving remains faster when there is no memory pressure; and deep 36-layer pure-attention models such as Qwen3-8B compound per-layer misses more steeply, so it recommends W=4,096 instead of 2,048. The release includes integration scripts and CLI flags for llama.cpp and SGLang, plus a zero-fork vLLM V1 plugin; the v0.1 namespace is still named oasiskv.
Generated from reports · updated 34 min ago
Developments
2 developments
- December 6 02:05 · 1 reportsBasinKV adds Qwen4 256K-context support on 24GB GPUsHacker News · AI:Zellige releases BasinKV for Qwen-4, running 256K context on a single 24GB GPU
- December 3 00:05 · 1 reportsBasinKV KV offloading released for llama.cpp, SGLang, vLLMHacker News · AI:Zellige releases BasinKV, drop-in RAM/NVMe KV cache offloading for llama.cpp, SGLang and vLLM
Report timeline
Follow the reports to see the event from different sides.
- Hacker News · AIZellige releases BasinKV for Qwen-4, running 256K context on a single 24GB GPU
Zellige released BasinKV for Qwen4-35B-A3B, which runs 256K context within 21.8 GiB on a 24 GB NVIDIA L4, where stock llama.cpp runs out of memory at 32K. On A100-80GB and MI300X it beats stock 256K decode by 14.7% (77.1 vs 67.2 tok/s and 89.8 vs 78.3 tok/s) while using 7.0 to 7.2 GiB less GPU memory. The method keeps Qwen4's trained indexer on GPU with an 8x smaller pooled key cache and streams cold KV from pinned host memory over zero-copy PCIe UVA.
- Hacker News · AIPicksZellige releases BasinKV, drop-in RAM/NVMe KV cache offloading for llama.cpp, SGLang and vLLM
Zellige released BasinKV, an open-source implementation and extension of the OasisKV lookahead-prefetch architecture that offloads KV cache history to pinned host RAM or NVMe while keeping a fixed-size resident KV working set in GPU memory. On a 24 GB NVIDIA L4 running llama.cpp with Qwen3.6-35B-A3B Q4_K_M at 256K context, stock hits CUDA OOM from 64K while BasinKV holds GPU KV plus index in 84.75 MiB and decodes from 69.86 tok/s at d=0 to 67.12 tok/s at 256K. The repo ships integration scripts and CLI flags for llama.cpp, SGLang and a zero-fork vLLM V1 KVConnectorBase_V1 plugin, with the v0.1 namespace still named oasiskv.
Heat for this event
- Current, comparable range
- 3
- Peak, comparable range
- 10December 3 01:00
- Change in 24 hours
- -50%
The trend compares the same participants over hours observed continuously, so its range can be narrower than the current heat count. Hover or tap the chart for hourly heat; the arrow keys move through it.