Skip to content

Commit e80cb90

Browse files
committed
rebase, improve doc, set CANN 8.1.rc1
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
1 parent d199c22 commit e80cb90

File tree

4 files changed

+18
-31
lines changed

4 files changed

+18
-31
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
FROM quay.io/ascend/cann:8.1.rc1.beta1-910b-ubuntu22.04-py3.10
18+
FROM quay.io/ascend/cann:8.1.rc1-910b-ubuntu22.04-py3.10
1919

2020
ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
2121

Dockerfile.openEuler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This file is a part of the vllm-ascend project.
1616
#
1717

18-
FROM quay.io/ascend/cann:8.1.rc1.beta1-910b-ubuntu22.04-py3.10
18+
FROM quay.io/ascend/cann:8.1.rc1-910b-ubuntu22.04-py3.10
1919

2020
ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
2121

docs/source/installation.md

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,6 @@ pip install vllm==|pip_vllm_version|
138138
pip install vllm-ascend==|pip_vllm_ascend_version| --extra-index https://download.pytorch.org/whl/cpu/
139139
```
140140

141-
**Optional**
142-
Install MindIE Turbo for Performance acceleration:
143-
144-
```{code-block} bash
145-
:substitutions:
146-
# Install MindIE Turbo
147-
pip install vllm-ascend[mindie_turbo]==|pip_vllm_ascend_version| --extra-index https://download.pytorch.org/whl/cpu/
148-
```
149-
150141
:::{dropdown} Click here to see "Build from source code"
151142
or build from **source code**:
152143

@@ -163,15 +154,6 @@ git clone --depth 1 --branch |vllm_ascend_version| https://github.com/vllm-proj
163154
cd vllm-ascend
164155
pip install -e . --extra-index https://download.pytorch.org/whl/cpu/
165156
```
166-
167-
**Optional**
168-
Install MindIE Turbo for Performance acceleration:
169-
170-
```{code-block} bash
171-
:substitutions:
172-
# Install MindIE Turbo
173-
pip install mindie_turbo
174-
```
175157
:::
176158

177159
::::
@@ -212,18 +194,20 @@ docker run --rm \
212194
-it $IMAGE bash
213195
```
214196

215-
```{note}
216-
1. vLLM and vLLM Ascend code are placed in `/vllm-workspace` in the docker image. And they are installed in develop mode so that the developer could easily modify the code.
197+
The default workdir is `/workspace`, vLLM and vLLM Ascend code are placed in `/vllm-workspace` and installed in [development mode](https://setuptools.pypa.io/en/latest/userguide/development_mode.html)(`pip install -e`) to help developer immediately take place changes without requiring a new installation.
198+
::::
217199

218-
2. The entrypath of the docker container is `/workspace`.
200+
:::::
219201

220-
3. **Optional**: Install MindIE Turbo for Performance acceleration: `pip install mindie_turbo==|pip_vllm_ascend_version|`
202+
## (Optional) Install MindIE Turbo
221203

222-
```
204+
Install MindIE Turbo for performance acceleration:
223205

224-
::::
206+
```{code-block} bash
207+
:substitutions:
225208
226-
:::::
209+
pip install mindie_turbo==|pip_vllm_ascend_version|
210+
```
227211

228212
## Extra information
229213

docs/source/quick_start.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,16 @@ docker run --rm \
3131
-it $IMAGE bash
3232
```
3333

34-
```{note}
35-
1. vLLM and vLLM Ascend code are placed in `/vllm-workspace` in the docker image. And they are installed in develop mode so that the developer could easily modify the code.
34+
The default workdir is `/workspace`, vLLM and vLLM Ascend code are placed in `/vllm-workspace` and installed in [development mode](https://setuptools.pypa.io/en/latest/userguide/development_mode.html)(`pip install -e`) to help developer immediately take place changes without requiring a new installation.
3635

37-
2. The entrypath of the docker container is `/workspace`.
36+
## (Optional) Install MindIE Turbo
3837

39-
3. **Optional**: Install MindIE Turbo for Performance acceleration: `pip install mindie_turbo==|pip_vllm_ascend_version|`
38+
Install MindIE Turbo for performance acceleration:
4039

40+
```{code-block} bash
41+
:substitutions:
42+
43+
pip install mindie_turbo==|pip_vllm_ascend_version|
4144
```
4245

4346
## Usage

0 commit comments

Comments
 (0)