█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

vLLM

बड़े भाषा मॉडल (LLM) के लिए तेज़, मेमोरी-कुशल इनफ़रेंस और सर्विंग

Serving & Deploymentओपन सोर्स
ताज़ा
v0.34.0
अपडेट किया गया
16 नव॰ 2026
भाषा
Python
लाइसेंस
Apache-2.0
कवरेज
8 stories
$uv pip install vllm

नया क्या है

v0.34.016 नव॰ 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.

ताज़ा खबरें

सभी 8 ↓
संक्षेप में

vLLM क्या है?

vLLM बड़े भाषा मॉडल (LLM) के लिए तेज़, मेमोरी-कुशल इनफ़रेंस और सर्विंग. यह Models & Inference टूल्स की Serving & Deployment श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: vLLM इंस्टॉल करें.

अपडेट किया गया Markdown वर्शन ↗

सारांश

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 बड़े भाषा मॉडल (LLM) को चलाने और सर्व करने के लिए एक लाइब्रेरी है। यह Hugging Face से मॉडल लोड करता है और उन्हें या तो batch generation के लिए Python API के रूप में, या OpenAI-compatible HTTP सर्वर के रूप में उपलब्ध कराता है। इसे शुरुआत में UC Berkeley की Sky Computing Lab में विकसित किया गया था, और अब इसे एक बड़ा ओपन सोर्स समुदाय मेंटेन करता है।

यह उन टीमों के लिए बना है जिन्हें GPU मेमोरी खत्म हुए बिना एक साथ कई रिक्वेस्ट सर्व करनी होती हैं। इसकी PagedAttention तकनीक attention key/value cache को ज़्यादा कुशलता से मैनेज करती है, और continuous batching रिक्वेस्ट को चलते-चलते जोड़कर और हटाकर GPU को व्यस्त रखती है। यह 200+ model architectures को सपोर्ट करता है, जिनमें decoder-only LLMs, mixture-of-expert मॉडल और multimodal मॉडल शामिल हैं।

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 ↗

Inference और serving श्रेणी में vLLM high-throughput serving वाले सिरे पर आता है। आप इसे एक मॉडल की ओर इंगित करते हैं, और यह batching, मेमोरी मैनेजमेंट, streaming और एक API इंटरफ़ेस संभालता है, ताकि आप serving की जटिल प्रक्रिया के बजाय अपनी application पर ध्यान दे सकें।

यह क्या करता है

  • PagedAttention attention key/value मेमोरी को कुशलता से मैनेज करता है, जिससे बर्बादी कम होती है और GPU मेमोरी में ज़्यादा concurrent रिक्वेस्ट फ़िट हो जाती हैं
  • Continuous batching, chunked prefill और prefix caching लोड के दौरान throughput ऊँचा बनाए रखते हैं
  • OpenAI-compatible API सर्वर, साथ ही Anthropic Messages API और gRPC सपोर्ट
  • FP8, INT8, INT4, GPTQ/AWQ और GGUF सहित व्यापक quantization सपोर्ट
  • Distributed inference के लिए tensor, pipeline, data, expert और context parallelism
  • NVIDIA और AMD GPUs, x86/ARM/PowerPC CPUs, और plugins के ज़रिए अन्य hardware पर चलता है

शुरू करें

vLLM इंस्टॉल करें, फिर या तो Python से टेक्स्ट जनरेट करें या OpenAI-compatible सर्वर शुरू करें।

vLLM इंस्टॉल करें

uv (अनुशंसित) या pip से इंस्टॉल करें। मैच करने वाले CUDA सेटअप वाला GPU आम तौर पर इसके लिए सही रहता है।

bashbash
uv pip install vllm

Offline batched inference चलाएँ

कोई मॉडल लोड करें और Python में सीधे 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-compatible सर्वर शुरू करें

http://localhost:8000 पर एक मॉडल HTTP से सर्व करें, जिसमें chat और completion endpoints हों जो OpenAI API से मेल खाते हैं।

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

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • एक OpenAI-compatible API के पीछे एक साथ कई यूज़र्स को chat या completion मॉडल सर्व करना
  • बड़े prompt सेट पर high-volume offline batch generation चलाना
  • पेड API की जगह अपनी GPUs पर open-weight Hugging Face मॉडल होस्ट करना
  • tensor या pipeline parallelism से एक बड़े मॉडल को कई GPUs पर स्केल करना

वर्शन इतिहास

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

  1. 16 नव॰ 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 नव॰ 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 सित॰ 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 सित॰ 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 अग॰ 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 अप्रैल 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 नव॰ 2026प्रमुखNemotron-Labs-Image-30B-A3B — NVIDIA's open autoregressive image generator
  2. 20 नव॰ 2026उल्लेखनीयSonge — trains your local model on idle compute
  3. 19 नव॰ 2026उल्लेखनीयSandboxed models can talk through a shared inference server — a study
  4. 16 नव॰ 2026प्रमुखvLLM v0.34.0 — a bigger KV cache by default, and Model Runner V1 is gone
  5. 10 नव॰ 2026उल्लेखनीयMACaQ — Huawei open-sources a 4-bit quantizer for GGUF, vLLM and Diffusers
  6. 1 नव॰ 2026प्रमुखvLLM v0.33.0 — faster speculative decoding, and CUDA 13 builds only
  7. 29 अक्टू॰ 2026प्रमुखMistral Large 4 open weights — Le Chonk lands on Hugging Face
  8. 12 अक्टू॰ 2026उल्लेखनीयIntel GPU D270 — an inference card with up to 480 GB of LPDDR5X

से AI/TLDR रिलीज़ फ़ीड — हर आइटम प्रकाशित होने पर स्रोत से सत्यापित होता है।

How vLLM compares

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

टूलस्टारयह क्या करता है
Transformers★ 170kटेक्स्ट, विज़न, ऑडियो और मल्टीमॉडल के लिए एक साझा मॉडल-डेफ़िनिशन फ़्रेमवर्क: inference और training, दोनों के लिए
vLLM★ 98kबड़े भाषा मॉडल (LLM) के लिए तेज़, मेमोरी-कुशल इनफ़रेंस और सर्विंग
SGLang★ 39.3kLLM और multimodal models के लिए prefix-cache reuse के साथ तेज़ serving
Modular Platform★ 30.2kएक ही ओपन रिपॉज़िटरी में विकसित किए जा रहे MAX इंफ़रेंस फ़्रेमवर्क और Mojo भाषा
DeepInfer★ 27.4kउच्च-प्रदर्शन वाला इंफ़रेंस फ़्रेमवर्क, जो DeepSeek की अपनी प्रोडक्शन सेवाओं को चलाता है और अब ओपन सोर्स के रूप में जारी किया गया है
TensorRT-LLM★ 15.2kLLM को ऑप्टिमाइज़्ड इंजन में कंपाइल करें, ताकि NVIDIA GPU पर inference तेज़ हो
OpenVINO★ 13.6kIntel CPU, GPU और NPU पर deep learning मॉडल को ऑप्टिमाइज़ और डिप्लॉय करें
OpenLLM★ 12.6kकिसी भी ओपन सोर्स LLM को एक ही command से OpenAI-compatible API के रूप में चलाएँ