mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-21 18:27:03 +08:00
[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:
parent
0c1c788312
commit
792595b59d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user