Reading the repo
Reading the repo
How to install on Windows
A high-throughput and memory-efficient inference and serving engine for LLMs
Saved setup from 5 h ago
The maintainers included tools/install_gdrcopy.sh. Run it from the cloned folder after reading it.
bash tools/install_gdrcopy.sh
Also: tools/install_snapshot_runtime.sh, tools/install_torchcodec_rocm.sh, tools/install_triton_from_source.sh, tools/setup_deepgemm_pythons.sh
Will it work on my device?
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/vllm-project/vllm.git cd vllm
Python >=3.11,<3.15, C/C++ compiler, CMake 3.26
winget install astral-sh.uv winget install Microsoft.VisualStudio.2022.BuildTools # then add the "Desktop development with C++" workload winget install Kitware.CMake
uv sync cmake -S . -B build -DCMAKE_BUILD_TYPE=Release cmake --build build
uv run pytest
Install vLLM with uv (recommended) or pip:
uv pip install vllm
vllm download-kernels # precompiled kernels for faster startup
Or build from source for development.
Visit our documentation to learn more.
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.