Paged inference engine
paged-inference-engine · Aug 2026 · Python, Triton
A mini vLLM-style server built without referencing vLLM source: block-based paged KV cache, continuous batching scheduler, a FlashAttention-2 Triton kernel that reads and writes through a block table, and INT8 KV cache quantization. Serves GPT-2 small, checked against Hugging Face with a parity harness.
- Throughput, 1 → 32 concurrent requests (GPT-2 small)82 → 1,030 tok/s
- vs Hugging Face with KV cache, 32 requests3.5x
- Prefill vs Hugging Face, log-probwithin ~0.005
- Honest result: vLLM 0.21.0 is faster, at 32 requests~23x