From 44c34f22d99a47e92715a74a2ca4ffbe919b2cbf Mon Sep 17 00:00:00 2001 From: Roy Wang Date: Tue, 13 Jan 2026 15:10:27 +0800 Subject: [PATCH] [Doc] Update installation from source command (#32239) Signed-off-by: esmeetu --- docs/contributing/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/contributing/README.md b/docs/contributing/README.md index 9c1b5a3b66..afdfd97a4a 100644 --- a/docs/contributing/README.md +++ b/docs/contributing/README.md @@ -43,10 +43,16 @@ If you are only developing vLLM's Python code, install vLLM using: VLLM_USE_PRECOMPILED=1 uv pip install -e . ``` -If you are developing vLLM's Python and CUDA/C++ code, install vLLM using: +If you are developing vLLM's Python and CUDA/C++ code, install Pytorch first: ```bash -uv pip install -e . +uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu129 +``` + +then install vLLM using: + +```bash +uv pip install -e . --no-build-isolation ``` For more details about installing from source and installing for other hardware, check out the [installation instructions](../getting_started/installation/README.md) for your hardware and head to the "Build wheel from source" section.