mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-26 13:57:04 +08:00
[Bugfix] Fix requirements paths in install instructions (#25827)
Signed-off-by: yingjun-mou <renzomou@gmail.com>
This commit is contained in:
parent
9360d34fa1
commit
edbaadd91f
@ -46,22 +46,22 @@ Execute the following commands to build and install vLLM from source.
|
|||||||
Please build the following dependencies, `torchvision`, `pyarrow` from source before building vLLM.
|
Please build the following dependencies, `torchvision`, `pyarrow` from source before building vLLM.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sed -i '/^torch/d' requirements-build.txt # remove torch from requirements-build.txt since we use nightly builds
|
sed -i '/^torch/d' requirements/build.txt # remove torch from requirements/build.txt since we use nightly builds
|
||||||
uv pip install -v \
|
uv pip install -v \
|
||||||
--torch-backend auto \
|
--torch-backend auto \
|
||||||
-r requirements-build.txt \
|
-r requirements/build.txt \
|
||||||
-r requirements-cpu.txt \
|
-r requirements/cpu.txt \
|
||||||
VLLM_TARGET_DEVICE=cpu python setup.py bdist_wheel && \
|
VLLM_TARGET_DEVICE=cpu python setup.py bdist_wheel && \
|
||||||
uv pip install dist/*.whl
|
uv pip install dist/*.whl
|
||||||
```
|
```
|
||||||
|
|
||||||
??? console "pip"
|
??? console "pip"
|
||||||
```bash
|
```bash
|
||||||
sed -i '/^torch/d' requirements-build.txt # remove torch from requirements-build.txt since we use nightly builds
|
sed -i '/^torch/d' requirements/build.txt # remove torch from requirements/build.txt since we use nightly builds
|
||||||
pip install -v \
|
pip install -v \
|
||||||
--extra-index-url https://download.pytorch.org/whl/nightly/cpu \
|
--extra-index-url https://download.pytorch.org/whl/nightly/cpu \
|
||||||
-r requirements-build.txt \
|
-r requirements/build.txt \
|
||||||
-r requirements-cpu.txt \
|
-r requirements/cpu.txt \
|
||||||
VLLM_TARGET_DEVICE=cpu python setup.py bdist_wheel && \
|
VLLM_TARGET_DEVICE=cpu python setup.py bdist_wheel && \
|
||||||
pip install dist/*.whl
|
pip install dist/*.whl
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user