Reading the repo
Reading the repo
How to install on Linux
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 bash setup.sh. 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.
git clone https://github.com/vllm-project/vllm.git cd vllm
Python >=3.11,<3.15, C/C++ compiler, CMake 3.26
curl -LsSf https://astral.sh/uv/install.sh | sh sudo apt install build-essential # Debian/Ubuntu sudo apt install 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 Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.