vLLM Inference Engine
PyTorch · Python · CUDA · C++
- Built a core LLM serving engine from first principles, implementing KV caching, PagedAttention, block memory allocation, and continuous batching.
- Achieved a 2× improvement in model throughput over naive inference baselines by batching concurrent sequences into single GPU forward passes.
- Reduced peak memory usage from 1032MB to 967MB by implementing KV cache reuse to prevent full state recomputations during inference.