microvllm
A miniature LLM inference server in C++20 with production-style serving techniques.
- 2.06×
- throughput @ batch 16
- 60%
- lower short-req latency
- 9.9s → 4.4s
- repeated-prompt runtime
- 124
- tests
- 25×
- CI TSan runs
Continuous batching, chunked prefill, block-based KV-cache allocation, admission control, and prefix sharing. Llama.cpp handles matrix operations; the queue, scheduler, cache accounting, and serving loop are original.
engineering noteBatching raised throughput until the workload became bandwidth-bound — past that point larger batches stopped paying. The benchmark suite reports the ceiling instead of hiding it.
