█

AI/TLDR

Spendier mir einen Kaffee
Spendier mir einen Kaffee

vLLM

Schnelle, speichereffiziente Inferenz und Serving für große Sprachmodelle

Serving & DeploymentOpen Source
Neueste
v0.34.0
Aktualisiert
16. Nov. 2026
Sprache
Python
Lizenz
Apache-2.0
Abdeckung
8 stories
$uv pip install vllm

Neu

v0.34.016. Nov. 2026

The extensible KV cache is on by default, so the cache is sized from memory actually free after warmup and most models get more of it. Model Runner V1 is removed, the default block size moves from 16 to 64, and 10 new models arrive, including Mistral Large 4. 1,061 commits from 412 contributors; release builds are ROCm 10.0 only on AMD.

Neueste News

alle 8 ↓
KURZ

Was ist vLLM?

vLLM ist eine Bibliothek zum Ausführen und Bereitstellen großer Sprachmodelle. Sie lädt Modelle von Hugging Face und stellt sie entweder als Python-API für Batch-Generierung oder als OpenAI-kompatiblen HTTP-Server bereit. Es gehört zur Kategorie Serving & Deployment der Models & Inference-Tools, ist Open Source, in Python geschrieben und unter Apache-2.0 lizenziert.

Aktualisiert Markdown-Version ↗

Überblick

Diagram of vLLM's two entrypoints: the LLM class calls LLMEngine, and the OpenAI-compatible API server calls AsyncLLMEngine, which wraps LLMEngine.
Two ways in: the Python LLM class for batch work, and the OpenAI-compatible server for online serving.vLLM docs ↗

vLLM ist eine Bibliothek zum Ausführen und Bereitstellen großer Sprachmodelle. Sie lädt Modelle von Hugging Face und stellt sie entweder als Python-API für Batch-Generierung oder als OpenAI-kompatiblen HTTP-Server bereit. Entwickelt wurde sie ursprünglich im Sky Computing Lab an der UC Berkeley. Heute wird sie von einer großen Open-Source-Community gepflegt.

vLLM ist für Teams gedacht, die viele Anfragen gleichzeitig bedienen müssen, ohne dem GPU-Speicher auszugehen. Die PagedAttention-Technik verwaltet den Attention-Key/Value-Cache effizienter, und Continuous Batching hält die GPU beschäftigt, indem Anfragen laufend hinzugefügt und entfernt werden. Es unterstützt 200+ Modellarchitekturen, darunter reine Decoder-LLMs, Mixture-of-Experts-Modelle und multimodale Modelle.

vLLM V1 process layout on 4 GPUs with TP=4: HTTP reaches an API server, which talks over ZMQ to an engine core that drives four GPU workers.
One API server handles tokenization and streaming, one engine core schedules and manages the KV cache, and one worker per GPU runs the model: six processes for TP=4.vLLM docs ↗

In der Kategorie Inferenz und Serving liegt vLLM im Bereich des Serving mit hohem Durchsatz. Sie geben ein Modell an, und vLLM übernimmt Batching, Speicherverwaltung, Streaming und eine API-Schnittstelle. So können Sie sich auf Ihre Anwendung konzentrieren statt auf die Serving-Infrastruktur.

Was es kann

  • PagedAttention verwaltet den Attention-Key/Value-Speicher effizient, reduziert Verschwendung und passt mehr gleichzeitige Anfragen in den GPU-Speicher
  • Continuous Batching, Chunked Prefill und Prefix Caching halten den Durchsatz unter Last hoch
  • OpenAI-kompatibler API-Server, dazu Unterstützung für die Anthropic Messages API und gRPC
  • Breite Quantisierungsunterstützung, darunter FP8, INT8, INT4, GPTQ/AWQ und GGUF
  • Tensor-, Pipeline-, Daten-, Expert- und Context-Parallelismus für verteilte Inferenz
  • Läuft auf NVIDIA- und AMD-GPUs, x86/ARM/PowerPC-CPUs und über Plugins auf weiterer Hardware

Erste Schritte

Installieren Sie vLLM und generieren Sie dann entweder Text aus Python oder starten Sie einen OpenAI-kompatiblen Server.

vLLM installieren

Installation mit uv (empfohlen) oder pip. Üblich ist eine GPU mit passendem CUDA-Setup.

bashbash
uv pip install vllm

Offline-Batch-Inferenz ausführen

Laden Sie ein Modell und generieren Sie direkt in Python Text für eine Liste von Prompts.

pythonpython
from vllm import LLM, SamplingParams

prompts = [
    "Hello, my name is",
    "The capital of France is",
]
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)

llm = LLM(model="facebook/opt-125m")
outputs = llm.generate(prompts, sampling_params)

for output in outputs:
    print(output.prompt, output.outputs[0].text)

OpenAI-kompatiblen Server starten

Stellen Sie ein Modell über HTTP unter http://localhost:8000 bereit, mit Chat- und Completion-Endpunkten, die zur OpenAI API passen.

bashbash
vllm serve Qwen/Qwen2.5-1.5B-Instruct

Befehle und Code stammen aus der Dokumentation des Projekts — prüf immer die offizielles Repo für das Neueste.

Wann man es nutzt

  • Ein Chat- oder Completion-Modell gleichzeitig für viele Nutzer hinter einer OpenAI-kompatiblen API bereitstellen
  • Offline-Batch-Generierung mit hohem Volumen über große Prompt-Mengen
  • Open-Weight-Modelle von Hugging Face auf eigenen GPUs hosten, statt eine kostenpflichtige API zu nutzen
  • Ein einzelnes großes Modell mit Tensor- oder Pipeline-Parallelismus auf mehrere GPUs verteilen

Versionshistorie

Every verified update to vLLM that AI/TLDR tracked, newest first — each links to our coverage and the official changeset.

  1. 16. Nov. 2026v0.34.0

    The extensible KV cache is on by default, so the cache is sized from memory actually free after warmup and most models get more of it. Model Runner V1 is removed, the default block size moves from 16 to 64, and 10 new models arrive, including Mistral Large 4. 1,061 commits from 412 contributors; release builds are ROCm 10.0 only on AMD.

  2. 1. Nov. 2026v0.33.0

    Block-diffusion drafters (DFlash, DSpark) stop reserving draft slots, an opt-in lossy FLy verifier and a ROCm `--monokernel` decode path speed up generation, and a `/v1/decisions` endpoint lands. 927 commits from 389 contributors; release builds are now CUDA 13.0 only, and Medusa and the MLP speculator are removed.

  3. 22. Sept. 2026v0.30.0

    Fast Start adds a per-GPU weight-cache daemon, so a restarting engine maps post-quantized weights over CUDA IPC via `--load-format ipc_cache` instead of reloading from disk. 762 commits from 315 contributors also bring Gumbel-max watermarking, the HiSparse host-memory KV tier, and DeepSeek-V4.1-Flash and GLM-5.3-Flash support. Scale-out endpoints now need `--enable-scale-out`.

  4. 9. Sept. 2026v0.29.0

    Model Runner V2 becomes the default for all models, and ten deprecated architectures (Arctic, Chameleon, MPT and others) are removed. 594 commits from 277 contributors add Hy4-preview and Qwen3.8-Flash-Next support; `python -m vllm.entrypoints.openai.api_server` is deprecated in favour of `vllm serve`.

  5. 26. Aug. 2026v0.28.0

    vLLM v0.28.0 lands 584 commits from 270 contributors: a Kimi K3 speed push (decode context parallelism, fused kernels, expert sharding saving ~17 GiB per GPU) plus end-to-end sparse MLA for DeepSeek V4.

  6. 27. Apr. 2026v0.20.0

    752 commits from 320 contributors: DeepSeek V4 support, FlashAttention 4 as the default MLA prefill backend, TurboQuant 2-bit KV cache for 4x capacity, and CUDA 13 plus PyTorch 2.11 as defaults.

vLLM in the news

  1. 24. Nov. 2026GROSSNemotron-Labs-Image-30B-A3B — NVIDIA's open autoregressive image generator
  2. 20. Nov. 2026WICHTIGSonge — trains your local model on idle compute
  3. 19. Nov. 2026WICHTIGSandboxed models can talk through a shared inference server — a study
  4. 16. Nov. 2026GROSSvLLM v0.34.0 — a bigger KV cache by default, and Model Runner V1 is gone
  5. 10. Nov. 2026WICHTIGMACaQ — Huawei open-sources a 4-bit quantizer for GGUF, vLLM and Diffusers
  6. 1. Nov. 2026GROSSvLLM v0.33.0 — faster speculative decoding, and CUDA 13 builds only
  7. 29. Okt. 2026GROSSMistral Large 4 open weights — Le Chonk lands on Hugging Face
  8. 12. Okt. 2026WICHTIGIntel GPU D270 — an inference card with up to 480 GB of LPDDR5X

Aus dem AI/TLDR Release-Feed – jeder Eintrag wird bei Veröffentlichung quellengeprüft.

How vLLM compares

vLLM im Vergleich zu anderen Open-Source-Tools der Kategorie „serving & deployment“, die AI/TLDR trackt, sortiert nach GitHub-Stars.

ToolSterneWas es kann
Transformers★ 170kEin Framework zur Modelldefinition für Text, Vision, Audio und multimodale Modelle: Inferenz und Training
vLLM★ 98kSchnelle, speichereffiziente Inferenz und Serving für große Sprachmodelle
SGLang★ 39.3kSchnelles Serving für LLMs und multimodale Modelle mit Wiederverwendung des Prefix-Cache
Modular Platform★ 30.2kDas MAX-Inference-Framework und die Mojo-Sprache, entwickelt in einem gemeinsamen Open-Source-Repository
DeepInfer★ 27.4kDas leistungsstarke Inferenz-Framework, das DeepSeeks eigene Produktionsdienste antreibt, als Open Source veröffentlicht
TensorRT-LLM★ 15.2kLLMs in optimierte Engines für schnelle Inferenz auf NVIDIA-GPUs kompilieren
OpenVINO★ 13.6kDeep-Learning-Modelle auf Intel-CPU, GPU und NPU optimieren und ausliefern
OpenLLM★ 12.6kBeliebige Open-Source-LLMs mit einem Befehl als OpenAI-kompatible API betreiben