[Docs] Fix vllm and vllm-ascend version (#107)
### What this PR does / why we need it? Fix vllm and vllm-ascend version | branch/tag | vllm_version | vllm_ascend_version|pip_vllm_ascend_version|pip_vllm_version| |----|----|----|----|----| | main | main | main | v0.7.1rc1 | v0.7.1 | | v0.7.1-dev | v0.7.1 | v0.7.1rc1 | v0.7.1rc1 | v0.7.1 | | v0.7.1rc1 | v0.7.1 | v0.7.1rc1 | v0.7.1rc1 | v0.7.1 | ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
This commit is contained in:
@@ -114,15 +114,18 @@ Once it's done, you can start to set up `vllm` and `vllm-ascend`.
|
||||
|
||||
You can install `vllm` and `vllm-ascend` from **pre-built wheel**:
|
||||
|
||||
```bash
|
||||
```{code-block} bash
|
||||
:substitutions:
|
||||
|
||||
# Install vllm from source, since `pip install vllm` doesn't work on CPU currently.
|
||||
# It'll be fixed in the next vllm release, e.g. v0.7.3.
|
||||
git clone --branch v0.7.1 https://github.com/vllm-project/vllm
|
||||
git clone --branch |pip_vllm_version| https://github.com/vllm-project/vllm
|
||||
|
||||
cd vllm
|
||||
VLLM_TARGET_DEVICE=empty pip install . --extra-index https://download.pytorch.org/whl/cpu/
|
||||
|
||||
# Install vllm-ascend from pypi.
|
||||
pip install vllm-ascend --extra-index https://download.pytorch.org/whl/cpu/
|
||||
pip install vllm-ascend==|pip_vllm_ascend_version| --extra-index https://download.pytorch.org/whl/cpu/
|
||||
|
||||
# Once the packages are installed, you need to install `torch-npu` manually,
|
||||
# because that vllm-ascend relies on an unreleased version of torch-npu.
|
||||
@@ -146,7 +149,7 @@ or build from **source code**:
|
||||
```{code-block} bash
|
||||
:substitutions:
|
||||
|
||||
git clone --depth 1 --branch |vllm_version| https://github.com/vllm-project/vllm
|
||||
git clone --depth 1 --branch |vllm_version| https://github.com/vllm-project/vllm
|
||||
cd vllm
|
||||
VLLM_TARGET_DEVICE=empty pip install . --extra-index https://download.pytorch.org/whl/cpu/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user