From 26e722f9068699c18538eff44c9827561f3f90ab Mon Sep 17 00:00:00 2001 From: jonoillar <95678447+jonoillar@users.noreply.github.com> Date: Wed, 25 Feb 2026 09:04:06 +0100 Subject: [PATCH] [DOC][BugFix] Specfiy build dependency installation (#34513) Signed-off-by: Jon OILLARBURU Co-authored-by: Jon OILLARBURU --- docs/contributing/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/contributing/README.md b/docs/contributing/README.md index afdfd97a4a..97ace9a1e6 100644 --- a/docs/contributing/README.md +++ b/docs/contributing/README.md @@ -49,7 +49,13 @@ If you are developing vLLM's Python and CUDA/C++ code, install Pytorch first: uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu129 ``` -then install vLLM using: +Then install the necessary build dependencies from `requirements/build.txt`, skipping `torch` as it was installed in the previous step: + +```bash +grep -v '^torch==' requirements/build.txt | uv pip install -r - +``` + +Finally install vLLM using: ```bash uv pip install -e . --no-build-isolation