B
zellige-ai/basinkv★ 177 · Python
Sparse KV offload for long-context LLM serving with a fixed GPU working set
Custom / Check Repov0.1.1
Side-by-side 2026 comparison in LLMs & Inference: ollama/ollama leads both total GitHub adoption (★ 189k) and recent 7-day momentum. Licensing: Custom / Check Repo vs MIT · Commercial Friendly.
Sparse KV offload for long-context LLM serving with a fixed GPU working set
Go-based LLM serving layer for local model management and inference
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | zellige-ai/basinkv | ollama/ollama |
|---|---|---|
| Total GitHub Stars | ★ 177 | ★ 189,047 |
| 24h / 7d Velocity | +45 / +45 | +42 / +703 |
| 7-Day Trend Curve | ||
| Engineering Health | B+ · 71/100 | A+ · 98/100 |
| Deployment Signals | Self-Hosted · GPU · CLI | Docker · Self-Hosted · Local AI · CLI · GPU · API |
| Primary Language | Python | Go |
| Commercial License | Custom / Check Repo | MIT · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v0.1.1 | v0.40.21 |
| Best For | Self-hosted NVIDIA GPU long-context serving where dense KV exhausts VRAM, or vLLM V1 deployments that explicitly need RAM/NVMe prefix reuse without patching the engine | Developers and small teams that want a local inference endpoint for model evaluation, coding assistants, or an internal RAG application without assembling their own model-management layer |
pip install basinkv # or `pip install -e .` from a checkout; registers the vLLM plugin entry point # Qwen3-8B, RAM + NVMe tiered prefix cache (verified on vLLM 0.19.1) vllm serve Qwen/Qwen3-8B --no-enable-prefix-caching --kv-transfer-config '{ "kv_connector": "OasisKVConnector", "kv_role": "kv_both", "kv_connector_extra_config": { "cache_mode": "mixed", "pcie_quant": "int8", "prefix_cache_dir": "/tmp/basinkv_cache", "prefix_cache_ram_gb": 4.0, "prefix_cache_nvme_gb": 32.0 } }' # Gemma 4 / Gemma 3 multi-group SWA + full attention (SupportsHMA, verified on vLLM 0.34.0) vllm serve google/gemma-4-26B-A4B-it --no-enable-prefix-caching --kv-transfer-config '{ "kv_connector": "OasisKVConnector", "kv_role": "kv_both", "kv_connector_extra_config": { "cache_mode": "nvme", "pcie_quant": "wht_int4", "prefix_cache_dir": "/tmp/basinkv_cache_gemma4", "prefix_cache_
/api/chat on localhost:11434, with stream: false for a complete response.ollama run gemma4 starts a CLI chat; model import and Modelfile configuration support custom setups.mlxrunner/ tree.curl -fsSL https://ollama.com/install.sh | sh
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy