prefix-caching

Open repos and models their makers tagged prefix-caching, most starred first. The same for everyone.

GitHubRepo

Qwen3.8-27B-FP8-on-a-single-DGX-Spark

Serving Qwen3.8-27B-FP8 on a single DGX Spark (GB10): 7.88 to 58.5 tok/s single-stream from decode strategy alone, weights untouched. Speculative decoding and prefix caching benchmarked, plus DFlash 2 β€” the only Qwen3.8-27B build that can serve it under vLLM.

  • 59
  • Python
  • MIT
  • 8 wk ago
0xBakeerTake it
AI on my own machineRepo

nano-lmcache

πŸ“š An educational, step-by-step implementation of LLM KV cache reuse β€” learn prefix caching, chunk keys, storage & eviction, from pure Python to GPU tensors and vLLM integration. Inspired by LMCache.

  • 44
  • Python
  • MIT
  • 19 h ago
Dami-wq-k03Take it
AI on my own machineRepo

deepseek-v41-flash-exl3-tp3-tp4-spark

DeepSeek 1017 EXL3 on 3-4 DGX Sparks. TP4 4.0.4: 4,277 tok/s cold prefill; C16 code 331.7 / prose 287.5 native decode sum. Smart CUDA Graph, KV Cache and Adaptive Speculation controllers. C16/R48, 9M KV, 3.5 GiB checkpoints. TP3 1.2.8: up to +58% cold prefill. Exact recipes, source and benchmarks.

  • 21
  • Python
  • 3 wk ago
LakyFxTake it
AI on my own machineRepo

Yunshu

Fast local LLM / VLM inference engine for Apple Silicon (MLX). OpenAI- and Anthropic-compatible, lossless speculative decoding (DFlash2 / MTP), hybrid-model prefix cache with RAM/SSD tiers, native Claude Code / Codex / opencode support. Qwen3.8-27B tuned first.

  • 3
  • Python
  • Apache-2.0
  • 11 d ago
YuhuanStudioTake it
AI on my own machineRepo

swarmkv

C++ inference runtime for llama.cpp that shares a single document KV-cache prefill across multiple analytical branches via snapshot fan-out. Eliminates redundant GPU compute and dramatically reduces TTFT in DAG-based multi-agent pipelines.

  • 3
  • C++
  • 5 mo ago
AI on my own machineRepo

chatprefix

Check a Hugging Face chat template for multi-turn prefix breaks, generation-prompt mismatches, dropped system messages and tools, double BOS and missing stop tokens.

  • 0
  • Python
  • MIT
  • 7 d ago
AI on my own machineRepo

pocketradix

RadixAttention-style prefix cache and scheduler for LLM inference in Rust, built to run Qwen3-0.6B on an 8 GB GPU. Learning project with fuzzed invariants and tailbench measurements.

  • 0
  • Rust
  • Apache-2.0
  • 13 h ago
AI on my own machineRepo

request-routing-sim

Discrete-event simulation of LLM request routing across multiple serving instances: round-robin, least-load, prefix-aware, and hybrid cache-aware routing with queue-depth threshold sweep.

  • 0
  • Python
  • MIT
  • 4 mo ago
JohnScheuerTake it
Search GitHub and Hugging Face for prefix-caching

Get , open it once and sign in. Then come back here and press the button again.