Skip to content

vLLM

A high-throughput inference and serving engine for LLMs

UC Berkeley (LMSYS) Tool Open source

What it is

vLLM is an open-source inference and serving engine released in 2023 by a team at UC Berkeley. Its PagedAttention manages attention caches in pages to ease memory fragmentation, paired with continuous batching to raise throughput. It targets memory utilisation and concurrency efficiency in large-model serving.

PagedAttention solved paging of the KV cache, raising per-GPU throughput substantially and becoming a widely adopted base for open-source serving.

Key specs

Key technique
PagedAttention paged KV cache
Scheduling
Continuous batching
Interface
OpenAI-compatible serving API

Related concepts

AI Engineering, Safety & Ethics

Inference Optimization & ServingIntermediate

Training happens once; inference happens a billion times a day — and serving is torn between fast first tokens and high throughput, which usually pull against each other

4Linked
Figures 1 · Data 2

AI Engineering, Safety & Ethics

Model CompressionIntermediate

Make a model smaller, faster and cheaper with almost no accuracy loss — but you can usually have only two of the three at once

4Linked
Figures 1 · Data 2

Comparable products

Ollama

Ollama

Run open models locally with one command

2Linked
Tool Open source
2023

NVIDIA

NeMo

A toolkit for training and customizing large models

2Linked
Tool Open source
2019