prefix-caching
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
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
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
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
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
kv-cache-foundry
C/C++ KV-cache optimization experiments for LLM inference. Live vLLM eviction and admission, H100/H200 benchmarks, and decode-aware llama.cpp transfers.
- 1
- C
- Apache-2.0
- 5 d ago
cache_aware_router
Cache-aware router for LLM inference backends: routes each request to the replica that already holds the longest matching prompt prefix
- 1
- Rust
- Apache-2.0
- 3 wk ago
paged-attention-sim
An interactive simulator of the PagedAttention algorithm for KV cache management in LLMs, inspired by operating system virtual memory.
- 1
- Python
- MIT
- 4 mo ago
kv-tier-bench
Cloud GPU benchmarks & interactive cluster simulator for LLM KV-cache tiering (GPU, CPU, NVMe, S3, P2P, Mooncake) in vLLM β latency, throughput & $/1M tokens vs. recompute.
- 0
- JavaScript
- Apache-2.0
- 3 d ago
agentic-llm-latency-benchmark
Reproducible benchmark for agentic context growth, prefix caching, and LLM latency
- 0
- Python
- MIT
- 12 d ago
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
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
dynamo-bench
Reproducible benchmarks for evaluating KV-aware routing and prefix-cache reuse in NVIDIA Dynamo, with comparisons against round-robin load balancing for distributed LLM inference.
- 0
- Python
- 12 d ago
adaptive-reader
Research prototype: a small local LLM reads a long document once and keeps only what a question needs, using single-token decisions and prefix-cache reuse.
- 0
- Python
- Apache-2.0
- 6 wk ago
request-reordering-cache-bench
Event-driven benchmark of prefix-aware request reordering policies for LLM serving, measuring the ROI trade-off between prefix hit rate, prefill savings, and added queueing delay.
- 0
- Python
- MIT
- 4 mo ago
prefix-sharing-disaggregated-bench
Prefix KV sharing in disaggregated LLM serving: transfer vs recompute vs hotset/LRU replication under decode memory pressure.
- 0
- Python
- MIT
- 4 mo ago
multi-turn-kv-reuse-bench
Simulating KV cache reuse across multi-turn LLM conversations using real ShareGPT traces. Compares sticky, least-load, hybrid, and cost-aware routing strategies for cache locality vs load balance.
- 0
- Python
- MIT
- 4 mo ago
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
course-summary-fast-efficient-llm-inference-vllm
French course summary of βFast & Efficient LLM Inference with vLLM,β covering inference, quantization, LLM Compressor, PagedAttention, Continuous Batching, benchmarking, and evaluation.
- 0
- Python
- 4 mo ago
cache-warming-strategy-bench
KV-cache warming strategies for LLM serving: top-k adaptive, reserve-headroom, replay, and progressive warming under cold-start after scale-up.
- 0
- Python
- 4 mo ago
radix-attention-sim
Event-driven simulation of concurrent KV-cache prefix sharing, copy-on-write, prefix retention, and scheduler economics inspired by RadixAttention-style LLM serving systems.
- 0
- 4 mo ago




