liveBook · Manning

vLLM

vLLM is an open-source library and serving engine for high-throughput, memory-efficient inference of large language models.

How 2 Manning books explain it

Domain-Specific Small Language Models

A high-throughput model serving library for running and benchmarking language models with efficient attention and API compatibility.

How it is used
Serves language models offline or behind an OpenAI-compatible HTTP endpoint, with memory management designed for high-throughput generation.
How deep it goes
Explains KV-cache fragmentation and PagedAttention’s block allocation, then demonstrates inference, HTTP serving, and benchmarking without detailing implementation code.
Examples
Uses GPT-2 completion, Phi-3 chat and HTTP requests, a GGUF model, and a ShareGPT-based serving benchmark.
What you can do after
Operate/configure it for offline inference or an OpenAI-compatible server, then evaluate serving latency and throughput with benchmark scripts.

Read how Domain-Specific Small Language Models explains vLLM →

Transformers in Action

vLLM is an open-source serving library for efficient inference of large language models.

How it is used
Serves large language models with optimized latency and throughput for real-time or batched inference.
How deep it goes
Explains paged attention, batching, speculative decoding, and GPU kernels, then demonstrates deployment through an API.
Examples
Demonstrates serving Google Gemma 3 4B through a command-line server and OpenAI-compatible chat-completions client.
What you can do after
Operate/configure vLLM to serve a supported transformer model through an OpenAI-style endpoint.

Read how Transformers in Action explains vLLM →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.