Skip to content

Commit 792595b

Browse files
authored
[TPU][V1][CI] Replace python3 setup.py develop with standard pip install --e on TPU (#17374)
Signed-off-by: NickLucche <[email protected]>
1 parent 0c1c788 commit 792595b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/Dockerfile.tpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
2323
--mount=type=bind,source=.git,target=.git \
2424
python3 -m pip install \
2525
-r requirements/tpu.txt
26-
RUN python3 setup.py develop
26+
RUN python3 -m pip install -e .
2727

2828
# install development dependencies (for testing)
2929
RUN python3 -m pip install -e tests/vllm_test_utils

docs/source/getting_started/installation/ai_accelerator/tpu.inc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ sudo apt-get install libopenblas-base libopenmpi-dev libomp-dev
158158
Run the setup script:
159159

160160
```bash
161-
VLLM_TARGET_DEVICE="tpu" python setup.py develop
161+
VLLM_TARGET_DEVICE="tpu" python -m pip install -e .
162162
```
163163

164164
## Set up using Docker

0 commit comments

Comments
 (0)