vLLM

Category: Generative AI / LLM

A high-throughput and memory-efficient inference engine for large language models that uses PagedAttention for optimized memory management.

Full Explanation

vLLM is an open-source inference serving framework designed for high-throughput LLM serving. Its core innovation is PagedAttention, which manages the KV (key-value) cache using a paging system inspired by operating system virtual memory management. Instead of allocating contiguous memory for each sequence KV cache, PagedAttention stores them in non-contiguous blocks, dramatically reducing memory waste from fragmentation and reservation. This enables vLLM to serve 2-4x more concurrent requests than naive implementations. vLLM also implements continuous batching, speculative decoding, and support for various quantization formats (GPTQ, AWQ, GGUF). It has become one of the most popular open-source LLM serving solutions, used in both research and production. vLLM supports a wide range of model architectures and provides an OpenAI-compatible API server for easy integration.

Related Terms

More in Generative AI / LLM

Explore More