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: ggml-org/llama.cpp leads both total GitHub adoption (★ 137.2k) 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
ggml-backed C/C++ inference for local and self-hosted GGUF models
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | zellige-ai/basinkv | ggml-org/llama.cpp |
|---|---|---|
| Total GitHub Stars | ★ 177 | ★ 137,202 |
| 24h / 7d Velocity | +45 / +45 | +96 / +762 |
| 7-Day Trend Curve | ||
| Engineering Health | B+ · 71/100 | A+ · 100/100 |
| Deployment Signals | Self-Hosted · GPU · CLI | Docker · Self-Hosted · Local AI · CLI · GPU · API |
| Primary Language | Python | C++ |
| Commercial License | Custom / Check Repo | MIT · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v0.1.1 | v1.1.0 |
| 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 | Teams that want to run GGUF models on their own hardware, embed inference in a native application, or expose a controlled OpenAI-compatible endpoint |
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_
convert_hf_to_gguf.py and convert_lora_to_gguf.py provide separate conversion paths for model weights and adapters.llama cli, and the OpenAI-compatible REST interface from llama serve cover distinct deployment needs.# curl curl -LsSf https://llama.app/install.sh | sh # powershell irm https://llama.app/install.ps1 | iex
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy