blog.dopana

Back

vLLM is a high-performance open-source LLM inference & serving engine from UC Berkeley (SOSP 2023), Apache 2.0. Latest: v0.26.0 (Jul 2026). ~77.5k GitHub stars, 2.79M weekly PyPI downloads. #1 OSS project by contributors (GitHub Octoverse 2025).

PagedAttention — The Core Innovation#

PagedAttention manages KV cache like OS virtual memory: fixed-size blocks, dynamic alloc/free, copy-on-write sharing. Results:

  • Memory waste drops from 60-80% to <4%
  • 24x higher throughput vs naive HF Transformers serving
  • Prefix sharing: system prompt computed once, reused across requests

Key Features#

FeatureDescription
Continuous batchingNew requests join running batches mid-stream
Chunked prefillSplits long prompts into chunks, avoids blocking decode
Prefix cachingUp to 40% latency reduction for repeated system prompts
Tensor/pipeline/expert parallelismScale across 8+ GPUs
Speculative decodingEAGLE 3.1, DFlash — up to 2x throughput
Disaggregated prefill/decodeSeparate servers for independent scaling
KV cache quantizationFP8, NVFP4, INT8, INT4

Quantization Support#

FormatImplementationHardware
FP8 (W8A8)Dynamic/static, per-token-group activationHopper+
NVFP4NVIDIA native 4-bit float (SM100+)Blackwell
MXFP4OCP Microscaling 4-bitBlackwell, Hopper
INT4 (AWQ/GPTQ)Marlin kernelsTuring+
INT8llm-compressor, staticAmpere+
KV cacheFP8, NVFP4, INT8, INT4Hopper+

2026 consensus: BF16 → FP8 (Hopper) → NVFP4/MXFP4 (Blackwell).

Hardware#

  • NVIDIA CUDA: Volta → Blackwell (SM 7.0–12.0). Full feature coverage
  • AMD ROCm: MI300X, MI355X
  • Intel XPU: Arc Pro B-series
  • Google TPU: Plugin (PyTorch + JAX)
  • Apple Silicon: vllm-metal plugin (MLX-based), ~525 tok/s M4 Max
  • CPU: x86/ARM/PowerPC/S390X
  • Huawei Ascend, AWS Trainium/Inferentia, IBM Spyre: Plugins

200+ model architectures supported on Hugging Face.

Multi-Modal#

Since 2025-2026, vLLM expanded to multi-modal:

  • Image: LLaVA, Qwen2.5-VL, Pixtral, Gemma3
  • Video: Qwen2.5-VL, Qwen3-VL
  • Audio: Whisper, Qwen2-Audio, Ultravox
  • Omni: Qwen3-Omni — interleaved audio+video

vLLM-Omni (Nov 2025) adds: Diffusion Transformers (DiT), TTS, non-autoregressive generation, heterogeneous outputs.

Serving Features#

  • OpenAI-compatible API: /v1/chat/completions, /v1/completions, /v1/embeddings — drop-in replacement
  • Anthropic Messages API
  • Structured outputs: xgrammar + guidance. guided_json, guided_regex, guided_grammar
  • Tool calling: Hermes, Mistral, Llama3, Qwen, xLAM, Granite…
  • Multi-LoRA: Fused kernels for dense + MoE layers
  • Realtime API: WebSocket streaming
  • vLLM Semantic Router: Multimodal routing, load balancing

Performance#

H100 single-GPU throughput (batch=32, FP16):

Engine7B13B70B
vLLM180 tok/s12050
SGLang16011045
TGI1409040
TensorRT-LLM280200100
llama.cpp862

Concurrent serving — Llama 3 70B (A100 80GB):

ConcurrentvLLMOllama
10~30 tok/s~15 tok/s
50~18 tok/s~4 tok/s
100~12 tok/sOOM
GPU mem utilization~96%60-70%
KV cache waste<4%40-60%

vLLM vs Alternatives#

DimensionvLLMTGITRT-LLMSGLangllama.cpp
PagedAttention✅ NativePartialRadixAttention
ThroughputBaseline~78%2-3x peak~90-95%~5%
Cold start~62sFast~28min compile~58sInstant
HardwareMulti-platformCUDA/ROCmCUDA onlyCUDA/ROCmAll
OpenAI APIFull+AnthropicPartialVia TritonFullPartial
QuantizationFP8/FP4/INT4…SameFP4/FP8/INT4SameGGUF

2026 consensus: Default to vLLM for GPU serving. SGLang for heavy prefix sharing. TRT-LLM for static peak performance. TGI in maintenance mode.

Timeline 2025-2026#

DateMilestone
Jan 2025vLLM V1 architecture rewrite
Nov 2025vLLM-Omni released — omni-modality
Jan 2026Streaming Requests, Realtime WebSocket API
Mar 2026P-EAGLE parallel speculative decoding
Apr 2026FP8 KV-Cache, RTX PRO 6000 NVFP4 — 6.5x throughput
May 2026EAGLE 3.1, Native RL APIs
Jul 2026v0.26.0 (PyPI)

References#