Learning resourcesReviewed · vLLM Project

vLLM Getting Started

The vLLM Getting Started guide teaches Python developers to run and serve language models, but setup depends on hardware and some platform instructions conflict. It covers offline generation, OpenAI-compatible API serving, GPU and CPU installation, containers, source builds and CPU tuning.

Researched 13 Nov 2026

In short.

The vLLM Getting Started guide teaches Python developers to run and serve language models, but hardware-specific setup and conflicting platform notes require care. It provides practical batch-generation and API examples alongside detailed installation and build instructions. Its useful technical details include model-controlled generation defaults, chat-template handling, binary compatibility and CPU memory tuning. The quickstart and dedicated guides disagree about ROCm defaults and Intel wheel availability. Successful installation, API coverage, output quality, performance and deployment security are not established by these pages.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is exactly the 15 files under docs/getting_started at revision 379a8487a2381e69787525f60a9e2e71a72417fa: quickstart.md and all 14 installation files, including shared snippets, navigation and the empty template. The repository-root LICENSE is included as a related notice. Linked pages, other repository folders, implementation code, model repositories, plugin manuals, container contents and external benchmark results are excluded. No commands, builds, servers, downloads or benchmarks were executed; runtime behavior and deployment security remain unassessed.

The overview

Identity

This is the vLLM project's Getting Started documentation at [https://github.com/vllm-project/vllm/tree/main/docs/getting_started]. It explains how to install the Python library and use it for offline language-model generation or an API server.

The material comprises quickstart.md and the installation directory, including platform guides, shared instruction snippets, navigation and an empty device template. The repository-root LICENSE supplies related licensing terms. This resource is documentation rather than the vLLM implementation or a hosted inference service.

Assessment

The guide is useful for developers who want concrete installation commands and a first batch-generation or API example. It also explains details that affect application behavior, including chat templates and generation settings inherited from model repositories.

Its breadth increases the reading burden: a short installation example can lead into driver, compiler, package-index or memory-management requirements. It is a practical starting reference, but it does not establish hardware capacity, production readiness or performance for a particular workload.

Users

The examples fit Python developers building batch text-generation jobs or applications that send completion and chat requests to a model server. Beginners need familiarity with terminals, Python environments, package installation and basic HTTP requests.

Experienced developers get additional value from source-build instructions, custom PyTorch integration, compiled-kernel compatibility, CPU thread placement and memory tuning. Apple Silicon and IBM Z users face separate plugin or experimental build paths.

Capabilities

The quickstart teaches offline generation through LLM, SamplingParams and llm.generate, plus message-based generation through llm.chat. Its online examples cover model listing, completions and chat completions through an OpenAI-compatible server. The server described there hosts one model at a time and supports optional API-key checks.

Installation coverage includes NVIDIA CUDA, AMD ROCm, Intel XPU and several CPU architectures. Apple GPU acceleration uses the separate vLLM-Metal plugin. More advanced material covers attention-backend choices, CPU batching and parallelism, selected quantization formats, source builds and container deployment.

Using it

Requirements

The general Linux instructions specify Python 3.11–3.14, but prebuilt ROCm and Intel XPU packages require Python 3.12. NVIDIA GPUs require compute capability 7.5 or higher. AMD requirements depend on the listed GPU family and ROCm version; the dedicated guide describes default ROCm 10.0 wheels requiring glibc 2.35 or newer. Intel support names Data Center and Arc GPUs and requires vllm-xpu-kernels.

Linux x86 CPU support recommends AVX512 and lists AVX2 with limited features. Linux Arm requires NEON; BF16 requires appropriate newer processor instructions. CPU deployments also need sufficient memory for model weights and the attention cache, with placement across NUMA memory nodes affecting operation.

Native Apple CPU support is experimental, requires a source build, macOS Sonoma or later, Xcode 15.4 or later and Apple Clang 15 or later. Apple GPU use follows the separate Metal plugin path and uses MLX-optimized models. IBM Z support is experimental, requires Z15 or newer with VXE, GCC/G++ 14 or newer and several dependencies built from source.

Full NVIDIA source builds require GCC/G++ 13 or newer. Native Windows support is unavailable; the guide points to WSL or community forks. Exact memory and storage requirements for a chosen model are not supplied.

Mechanism

In the offline path, LLM loads a model and llm.generate queues prompts for generation, returning RequestOutput objects. Models download from Hugging Face by default, with a ModelScope option. A model repository's generation_config.json can change default sampling behavior. llm.generate does not automatically apply chat templates; llm.chat accepts structured messages.

The server exposes HTTP endpoints that compatible clients can call. Underneath, hardware-specific compiled components and attention implementations perform inference. CUDA and ROCm binaries depend on compatible PyTorch and accelerator stacks, so changing those components can require a source build.

On CPUs, thread binding controls which cores perform inference, while the KV cache stores attention state used during generation. Larger caches can accommodate longer contexts or more concurrent requests, but model-weight shards and cache allocations must fit the available memory on each NUMA node.

Setup

For the documented NVIDIA wheel route, create a fresh environment with uv venv --python 3.12 --seed --managed-python, activate it with source .venv/bin/activate, install using uv pip install vllm --torch-backend=auto, then run vllm download-kernels. The kernel download must be refreshed after installation or upgrades because it is tied to the installed FlashInfer version.

Other hardware uses different package indexes, containers or source builds. ROCm and Intel wheel paths require Python 3.12. The x86 CPU instructions require Intel OpenMP preloading and also describe TCMalloc; Arm instructions require TCMalloc preloading. Apple CPU and IBM Z have no prebuilt CPU wheels in this material.

Python-only editable builds reuse compiled components and are unsuitable for changed C++, CUDA or HIP code. Source and wheel revisions should match. The CPU guide now recommends --kv-cache-memory-bytes instead of the legacy VLLM_CPU_KVCACHE_SPACE variable still used in several examples.

Example

After the matching installation, the quickstart's command vllm serve Qwen/Qwen2.5-1.5B-Instruct starts its example server. The documented default address is [http://localhost:8000], with model listing at [http://localhost:8000/v1/models] and chat requests at [http://localhost:8000/v1/chat/completions]. A chat request supplies the model identifier and a messages array containing role and content fields.

For offline generation, the guide imports LLM and SamplingParams, loads facebook/opt-125m, and passes a list of prompts to llm.generate with temperature=0.8 and top_p=0.95. Generated text is accessed through each result's outputs[0].text. These examples were not executed; generated answers, resource consumption and response times are unknown.

Assessment & evidence

Limitations

The quickstart describes ROCm 7.0 for its AMD installation route, while the dedicated ROCm guide describes default ROCm 10.0 wheels. The quickstart says Intel XPU wheels will be available soon, while the dedicated XPU guide provides nightly and revision-specific wheel instructions. These discrepancies leave the intended release-specific setup unclear.

CPU support is uneven. Apple CPU and IBM Z paths are experimental. The x86 requirements list limited AVX2 support, while troubleshooting says AMD requires Zen 4 or newer for AVX512, leaving older AMD coverage unclear. The CPU page also warns that zentorch is unsupported with vLLM 0.27.0 and 0.27.1.

OpenAI compatibility is illustrated through particular endpoints; complete API equivalence is not established. Model and feature compatibility matrices are linked outside these pages. The documentation provides no inference-performance results for a reader's configuration.

Several container examples use expanded permissions, host networking or IPC, device access, or unconfined seccomp. The Intel example includes privileged mode. Optional API-key checks are documented, but a hardened public deployment is not established.

Reasoning

The guide's practical value comes from connecting installation to two concrete outcomes: generating a batch of texts and exposing a model through an API. Its generation-default and chat-template explanations help developers avoid unexpected behavior. Hardware breadth increases its usefulness, but also creates compatibility decisions that the conflicting notes do not fully resolve. Documentation coverage alone does not demonstrate equivalent features, speed or reliability across platforms.

Alternatives

Within the guide, developers can choose offline Python generation or an HTTP server, then a wheel, container or source-build installation where available. CPU routes provide another hardware option, but no comparative speed or cost evidence establishes when they outperform accelerator routes.

Apple GPU use is routed through vLLM-Metal and its MLX backend. The quickstart also points to vllm-tpu for Google TPUs and vLLM Ascend for Ascend NPUs. Their linked documentation is outside this resource. Competing inference engines are not compared, so no product ranking is supported.

Evidence

The evidence is the project's own documentation and repository licence at revision 379a8487a2381e69787525f60a9e2e71a72417fa. The immutable quickstart is available at [https://raw.githubusercontent.com/vllm-project/vllm/379a8487a2381e69787525f60a9e2e71a72417fa/docs/getting_started/quickstart.md].

The pages establish documented procedures, requirements and stated limitations. They do not establish successful execution, inference latency, throughput, output quality or reliability for a particular deployment. The navigation file and empty device template contribute structure rather than additional usage guidance.

Access & freshness

Costs

The Apache 2.0 terms grant the stated rights without a licence royalty, but the documentation supplies no deployment price. Hardware or cloud capacity, model storage, downloads and operating effort may affect total cost. No amounts, model-access charges, support prices or cost-per-request measurements are established, so operating cost remains unknown.

Rights

The supplied repository licence is Apache License 2.0. It permits reproduction, modification and redistribution subject to its conditions. Redistribution requires a licence copy, prominent change notices for modified files, retention of applicable notices and preservation of required NOTICE attribution when present. It provides no general trademark permission or warranty.

The supplied material includes no separate NOTICE file, which does not establish whether additional notices exist elsewhere. Model weights, plugins and optional dependencies need separate rights consideration; their licences are not established here. The CUDA container guidance explicitly notes that some optional dependencies are omitted because of licensing issues.

Freshness

This documentation snapshot was captured on 2026-11-13 at 19:17:55.842 UTC and is tied to revision 379a8487a2381e69787525f60a9e2e71a72417fa. Its corresponding released vLLM version and the commit's publication date are unknown. Version numbers appearing in examples do not establish the latest release.

Several commands resolve the latest release or nightly build, and container examples use mutable latest tags. The x86 recipe-assisted path fetches recipes at runtime, so its configuration can change independently of an image. FlashInfer kernels must match installed dependencies, and legacy ROCm tags described here are no longer updated. These details make exact version recording important for reproducibility.

Actions

Start by identifying the operating system, processor or GPU, available memory, Python version and desired model. Follow the dedicated hardware page, resolve the ROCm or XPU discrepancies for the intended release, and record exact package and image versions. Confirm model compatibility and access terms through the referenced model documentation.

For an initial evaluation, use a small compatible model and verify the documented generation or API path. Check chat-template handling and effective generation defaults before assessing answers. Then measure memory use, latency and throughput under the intended request load. For a shared service, assess API-key enforcement and container permissions separately. None of these actions has been executed here.

Evidence for this report

LICENSEnotice · checked 2026-11-13
docs/getting_started/installation/.nav.ymlselected · checked 2026-11-13
docs/getting_started/installation/README.mdselected · checked 2026-11-13
docs/getting_started/installation/cpu.mdselected · checked 2026-11-13
docs/getting_started/installation/gpu.mdselected · checked 2026-11-13
docs/getting_started/quickstart.mdselected · checked 2026-11-13