█

AI/TLDR

Invítame a un café
Invítame un café

vLLM

Inferencia y servicio rápidos y eficientes en memoria para modelos de lenguaje grandes

Serving & DeploymentCódigo abierto
Latest
v0.34.0
Actualizado
16 Nov 2026
Idioma
Python
Licencia
Apache-2.0
Coverage
8 stories
$uv pip install vllm

What's new

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.

Últimas noticias

all 8 ↓
EN BREVE

What is vLLM?

vLLM es una biblioteca para ejecutar y servir modelos de lenguaje grandes. It sits in the Serving & Deployment category of the Models & Inference tools and is open-source, written in Python and licensed Apache-2.0. To get started: instalar vLLM.

Actualizado Versión en Markdown ↗

Resumen

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 es una biblioteca para ejecutar y servir modelos de lenguaje grandes. Carga modelos desde Hugging Face y los expone como una API de Python para generación por lotes o como un servidor HTTP compatible con OpenAI. Se desarrolló originalmente en el Sky Computing Lab de la UC Berkeley y hoy lo mantiene una gran comunidad de código abierto.

Está pensado para equipos que necesitan atender muchas solicitudes al mismo tiempo sin quedarse sin memoria de la GPU. Su técnica PagedAttention gestiona la caché de claves y valores de la atención de forma más eficiente, y el batching continuo mantiene la GPU ocupada añadiendo y quitando solicitudes sobre la marcha. Admite 200+ arquitecturas de modelos, incluidos LLM solo decodificadores, modelos de mezcla de expertos y modelos multimodales.

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 ↗

Dentro de la categoría de inferencia y servicio, vLLM se sitúa en la parte de servicio de alto rendimiento. Solo tienes que indicarle un modelo y él se encarga del batching, la gestión de memoria, el streaming y una interfaz de API, para que puedas centrarte en tu aplicación en lugar de en la infraestructura de servicio.

Qué hace

  • PagedAttention gestiona la memoria de claves y valores de la atención de forma eficiente, reduciendo el desperdicio y permitiendo más solicitudes concurrentes en la memoria de la GPU
  • El batching continuo, el prefill por bloques y la caché de prefijos mantienen un alto rendimiento bajo carga
  • Servidor de API compatible con OpenAI, además de compatibilidad con la API de Mensajes de Anthropic y gRPC
  • Amplio soporte de cuantización, incluidos FP8, INT8, INT4, GPTQ/AWQ y GGUF
  • Paralelismo de tensores, de pipeline, de datos, de expertos y de contexto para inferencia distribuida
  • Funciona con GPU de NVIDIA y AMD, CPU x86/ARM/PowerPC y otro hardware mediante plugins

Primeros pasos

Instala vLLM y después genera texto desde Python o arranca un servidor compatible con OpenAI.

Instalar vLLM

Instálalo con uv (recomendado) o pip. Lo habitual es una GPU con una configuración de CUDA compatible.

bashbash
uv pip install vllm

Ejecutar inferencia por lotes sin conexión

Carga un modelo y genera texto para una lista de prompts directamente en Python.

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)

Arrancar un servidor compatible con OpenAI

Sirve un modelo por HTTP en http://localhost:8000 con endpoints de chat y de completado que coinciden con la API de OpenAI.

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

Commands and code are distilled from the project's own documentation — always check the repositorio oficial para lo último.

Cuándo usarlo

  • Servir un modelo de chat o de completado a muchos usuarios a la vez detrás de una API compatible con OpenAI
  • Ejecutar generación por lotes sin conexión de gran volumen sobre conjuntos grandes de prompts
  • Alojar modelos abiertos de Hugging Face en tus propias GPU en lugar de usar una API de pago
  • Escalar un solo modelo grande entre varias GPU con paralelismo de tensores o de pipeline

Historial de versiones

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

  1. 2026-11-16v0.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. 2026-11-01v0.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. 2026-09-22v0.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. 2026-09-09v0.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. 2026-08-26v0.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. 2026-04-27v0.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. 2026-11-24MAYORNemotron-Labs-Image-30B-A3B — NVIDIA's open autoregressive image generator
  2. 2026-11-20DESTACADOSonge — trains your local model on idle compute
  3. 2026-11-19DESTACADOSandboxed models can talk through a shared inference server — a study
  4. 2026-11-16MAYORvLLM v0.34.0 — a bigger KV cache by default, and Model Runner V1 is gone
  5. 2026-11-10DESTACADOMACaQ — Huawei open-sources a 4-bit quantizer for GGUF, vLLM and Diffusers
  6. 2026-11-01MAYORvLLM v0.33.0 — faster speculative decoding, and CUDA 13 builds only
  7. 2026-10-29MAYORMistral Large 4 open weights — Le Chonk lands on Hugging Face
  8. 2026-10-12DESTACADOIntel GPU D270 — an inference card with up to 480 GB of LPDDR5X

Del Feed de lanzamientos de AI/TLDR — cada elemento se verifica en la fuente al publicarse.

How vLLM compares

vLLM alongside other open-source serving & deployment tools AI/TLDR tracks, ranked by GitHub stars.

HerramientaEstrellasQué hace
Transformers★ 169kHugging Face Transformers is a Python framework that defines and runs state-of-the-art pretrained models for text, vision, audio, and multimodal tasks, for both inference and training.
vLLM★ 97.9kInferencia y servicio rápidos y eficientes en memoria para modelos de lenguaje grandes
SGLang★ 39.2kA serving framework for LLMs and multimodal models that boosts throughput by reusing shared prompt prefixes across requests.
Modular Platform★ 30.2kModular's AI platform: the MAX inference framework with an OpenAI-compatible serving endpoint and GPU kernel library, plus the Mojo language and compiler.
DeepInfer★ 26.5kDeepSeek's own large-scale inference framework for its models, with expert parallelism, confidence-scheduled speculative decoding and NVIDIA plus Ascend support.
TensorRT-LLM★ 15.2kNVIDIA's library that compiles LLMs into optimized engines for the fastest inference on its data-center GPUs.
OpenVINO★ 13.3kAn open-source toolkit from Intel that converts and optimizes deep learning models, then runs fast inference on CPU, GPU, and NPU hardware.
OpenLLM★ 12.6kA tool to run any open-source LLM as an OpenAI-compatible API endpoint locally or in the cloud.