[Docs] Add dynamic version in docs (#90)
### What this PR does / why we need it? Add dynamic version in docs ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Preview: https://vllm-ascend--90.org.readthedocs.build/en/90/ Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
This commit is contained in:
@@ -69,15 +69,17 @@ pip install --upgrade pip
|
||||
|
||||
You can install vLLM and vllm-ascend plugin by using:
|
||||
|
||||
```bash
|
||||
# Install vLLM main branch (About 5 mins)
|
||||
git clone --depth 1 https://github.com/vllm-project/vllm.git
|
||||
```{code-block} bash
|
||||
:substitutions:
|
||||
|
||||
# Install vLLM (About 5 mins)
|
||||
git clone --depth 1 --branch |vllm_version| https://github.com/vllm-project/vllm.git
|
||||
cd vllm
|
||||
VLLM_TARGET_DEVICE=empty pip install .
|
||||
cd ..
|
||||
|
||||
# Install vLLM Ascend Plugin:
|
||||
git clone --depth 1 https://github.com/vllm-project/vllm-ascend.git
|
||||
git clone --depth 1 --branch |vllm_ascend_version| https://github.com/vllm-project/vllm-ascend.git
|
||||
cd vllm-ascend
|
||||
pip install -e .
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user