[TPU][V1][CI] Replace python3 setup.py develop with standard pip install --e on TPU (#17374)

Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
Nicolò Lucchesi
2025-04-29 10:36:48 -07:00
committed by GitHub
parent 0c1c788312
commit 792595b59d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
--mount=type=bind,source=.git,target=.git \ --mount=type=bind,source=.git,target=.git \
python3 -m pip install \ python3 -m pip install \
-r requirements/tpu.txt -r requirements/tpu.txt
RUN python3 setup.py develop RUN python3 -m pip install -e .
# install development dependencies (for testing) # install development dependencies (for testing)
RUN python3 -m pip install -e tests/vllm_test_utils RUN python3 -m pip install -e tests/vllm_test_utils
@@ -158,7 +158,7 @@ sudo apt-get install libopenblas-base libopenmpi-dev libomp-dev
Run the setup script: Run the setup script:
```bash ```bash
VLLM_TARGET_DEVICE="tpu" python setup.py develop VLLM_TARGET_DEVICE="tpu" python -m pip install -e .
``` ```
## Set up using Docker ## Set up using Docker