@@ -5,15 +5,15 @@ This document describes how to install vllm-ascend manually.
55## Requirements
66
77- OS: Linux
8- - Python: 3.9 or higher
8+ - Python: >= 3.9, < 3.12
99- A hardware with Ascend NPU. It's usually the Atlas 800 A2 series.
1010- Software:
1111
12- | Software | Supported version | Note |
13- | ------------ | ----------------- | ---- |
12+ | Software | Supported version | Note |
13+ | ------------ | ----------------- | -------------------------------------- |
1414 | CANN | >= 8.0.0 | Required for vllm-ascend and torch-npu |
15- | torch-npu | >= 2.5.1.dev20250320 | Required for vllm-ascend |
16- | torch | >= 2.5.1 | Required for torch-npu and vllm |
15+ | torch-npu | >= 2.5.1 | Required for vllm-ascend |
16+ | torch | >= 2.5.1 | Required for torch-npu and vllm |
1717
1818You have 2 way to install:
1919- ** Using pip** : first prepare env manually or via CANN image, then install ` vllm-ascend ` using pip.
@@ -156,25 +156,6 @@ pip install -e . --extra-index https://download.pytorch.org/whl/cpu/
156156```
157157:::
158158
159- Current version depends on a unreleased ` torch-npu ` , you need to install manually:
160-
161- ```
162- # Once the packages are installed, you need to install `torch-npu` manually,
163- # because that vllm-ascend relies on an unreleased version of torch-npu.
164- # This step will be removed in the next vllm-ascend release.
165- #
166- # Here we take python 3.10 on aarch64 as an example. Feel free to install the correct version for your environment. See:
167- #
168- # https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/pta/Daily/v2.5.1/20250320.3/pytorch_v2.5.1_py39.tar.gz
169- # https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/pta/Daily/v2.5.1/20250320.3/pytorch_v2.5.1_py310.tar.gz
170- # https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/pta/Daily/v2.5.1/20250320.3/pytorch_v2.5.1_py311.tar.gz
171- #
172- mkdir pta
173- cd pta
174- wget https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/pta/Daily/v2.5.1/20250320.3/pytorch_v2.5.1_py310.tar.gz
175- tar -xvf pytorch_v2.5.1_py310.tar.gz
176- pip install ./torch_npu-2.5.1.dev20250320-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
177- ```
178159::::
179160
180161::::{tab-item} Using docker
0 commit comments