LLM Inference Engine
Continuous Batching from scratch
A local-first LLM serving engine focused on efficient inference, concurrent scheduling, and real-time streaming.
- PagedAttention-inspired KV-cache management with continuous batching — serves 8 concurrent requests while cutting memory fragmentation.
- Adaptive chunked-prefill scheduler that adjusts chunk size to workload pressure, reducing time-to-first-token by 61% on mixed prompts.
- Trie-based prefix KV cache with LRU eviction & shared prompt reuse — +44% throughput vs sequential HuggingFace inference.