快速安装
本章节推荐熟悉PyTorch框架和torch_npu插件安装的用户使用,旨在根据不同配套版本和安装环境快速获取命令,源码编译安装等更多详细安装操作请参见安装步骤。
获取安装命令
执行安装命令前,请参见安装前必读完成环境变量配置。
PyTorch版本 |
torch_npu插件版本 |
Python版本 |
系统架构 |
CANN版本 |
安装方式 |
安装命令 |
---|---|---|---|---|---|---|
2.4.0 |
6.0.rc3 |
Python 3.8 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.8 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.4.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.9 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.9 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.4.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.10 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.10 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.4.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.11 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.11 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.4.0%2Bcpu-cp311-cp311-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.4.0/torch_npu-2.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.4.0+cpu-cp311-cp311-linux_x86_64.whl pip3 install torch_npu-2.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
2.3.1 |
6.0.rc3 |
Python 3.8 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.3.1.post2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.8 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.3.1/torch_npu-2.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.8 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.3.1+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.3.1.post2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.8 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.3.1/torch_npu-2.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.3.1+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.9 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.3.1.post2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.3.1/torch_npu-2.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.9 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.3.1+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.3.1.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.3.1/torch_npu-2.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.3.1+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.10 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.3.1.post2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.3.1/torch_npu-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.10 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.3.1+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.3.1.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.3.1/torch_npu-2.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.3.1+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.11 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.3.1.post2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.11 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp311-cp311-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.3.1/torch_npu-2.3.1.post2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.3.1+cpu-cp311-cp311-linux_x86_64.whl pip3 install torch_npu-2.3.1.post2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
2.2.0 |
6.0.rc2 |
Python 3.8 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.2.0/torch_npu-2.2.0.post2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.2.0.post2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.8 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.2.0/torch_npu-2.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.8 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.2.0/torch_npu-2.2.0.post2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.2.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.2.0.post2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.8 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.2.0/torch_npu-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.2.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.2.0/torch_npu-2.2.0.post2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.2.0.post2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.9 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.2.0/torch_npu-2.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.2.0/torch_npu-2.2.0.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.2.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.2.0.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.9 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.2.0/torch_npu-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.2.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.2.0/torch_npu-2.2.0.post2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.2.0.post2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.10 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.2.0/torch_npu-2.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.2.0/torch_npu-2.2.0.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.2.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.2.0.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.10 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.2.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.2.0/torch_npu-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.2.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
2.1.0 |
6.0.rc3 |
Python 3.8 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.8 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.1.0/torch_npu-2.1.0.post6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.8 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.1.0/torch_npu-2.1.0.post3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.8 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.1.0/torch_npu-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.8 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.1.0.post8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.8 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.1.0/torch_npu-2.1.0.post6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.1.0.post6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.8 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.1.0/torch_npu-2.1.0.post3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.1.0.post3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.8 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.1.0/torch_npu-2.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.9 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.1.0/torch_npu-2.1.0.post6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.9 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.1.0/torch_npu-2.1.0.post3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.9 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.1.0/torch_npu-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 torch_npu-2.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.9 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.1.0.post8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.1.0/torch_npu-2.1.0.post6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.1.0.post6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.9 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.1.0/torch_npu-2.1.0.post3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.1.0.post3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.9 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.1.0/torch_npu-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.10 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.1.0/torch_npu-2.1.0.post6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.10 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.1.0/torch_npu-2.1.0.post3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.10 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.1.0/torch_npu-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.10 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.1.0.post8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.1.0/torch_npu-2.1.0.post6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.1.0.post6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.10 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch2.1.0/torch_npu-2.1.0.post3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.1.0.post3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.10 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.1.0/torch_npu-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.11 |
AArch64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 安装命令 pip3 install torch-2.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install torch_npu-2.1.0.post8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc3 |
Python 3.11 |
X86_64 |
8.0.RC3 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp311-cp311-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc3-pytorch2.1.0/torch_npu-2.1.0.post8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 安装命令 pip3 install torch-2.1.0+cpu-cp311-cp311-linux_x86_64.whl pip3 install torch_npu-2.1.0.post8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
2.0.1 |
5.0.0 |
Python 3.8 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-2.0.1-cp38-cp38-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.0.1/torch_npu-2.0.1.post1-cp38-cp38-linux_aarch64.whl # 安装命令 pip3 install torch-2.0.1-cp38-cp38-manylinux2014_aarch64.whl pip3 install torch_npu-2.0.1.post1-cp38-cp38-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.9 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-2.0.1-cp39-cp39-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.0.1/torch_npu-2.0.1.post1-cp39-cp39-linux_aarch64.whl # 安装命令 pip3 install torch-2.0.1-cp39-cp39-manylinux2014_aarch64.whl pip3 install torch_npu-2.0.1.post1-cp39-cp39-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.10 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-2.0.1-cp310-cp310-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.0.1/torch_npu-2.0.1.post1-cp310-cp310-linux_aarch64.whl # 安装命令 pip3 install torch-2.0.1-cp310-cp310-manylinux2014_aarch64.whl pip3 install torch_npu-2.0.1.post1-cp310-cp310-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.8 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.0.1%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.0.1/torch_npu-2.0.1.post1-cp38-cp38-linux_x86_64.whl # 安装命令 pip3 install torch-2.0.1+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-2.0.1.post1-cp38-cp38-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.9 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.0.1%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.0.1/torch_npu-2.0.1.post1-cp39-cp39-linux_x86_64.whl # 安装命令 pip3 install torch-2.0.1+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-2.0.1.post1-cp39-cp39-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.10 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-2.0.1%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch2.0.1/torch_npu-2.0.1.post1-cp310-cp310-linux_x86_64.whl # 安装命令 pip3 install torch-2.0.1+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-2.0.1.post1-cp310-cp310-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
1.11.0 |
6.0.rc2 |
Python 3.7和Python 3.7m |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp37-cp37m-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp37-cp37m-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp37-cp37m-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post14-cp37-cp37m-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.7和Python 3.7m |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp37-cp37m-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp37-cp37m-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp37-cp37m-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post11-cp37-cp37m-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.7和Python 3.7m |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp37-cp37m-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp37-cp37m-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp37-cp37m-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post8-cp37-cp37m-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.7和Python 3.7m |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp37-cp37m-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp37-cp37m-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp37-cp37m-linux_x86_64.whl pip3 install torch_npu-1.11.0.post14-cp37-cp37m-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.7和Python 3.7m |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp37-cp37m-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp37-cp37m-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp37-cp37m-linux_x86_64.whl pip3 install torch_npu-1.11.0.post11-cp37-cp37m-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.7和Python 3.7m |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp37-cp37m-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp37-cp37m-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp37-cp37m-linux_x86_64.whl pip3 install torch_npu-1.11.0.post8-cp37-cp37m-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.8 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp38-cp38-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp38-cp38-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp38-cp38-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post14-cp38-cp38-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.8 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp38-cp38-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp38-cp38-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp38-cp38-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post11-cp38-cp38-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.8 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp38-cp38-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp38-cp38-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp38-cp38-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post8-cp38-cp38-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.8 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp38-cp38-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-1.11.0.post14-cp38-cp38-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.8 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp38-cp38-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-1.11.0.post11-cp38-cp38-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.8 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp38-cp38-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp38-cp38-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp38-cp38-linux_x86_64.whl pip3 install torch_npu-1.11.0.post8-cp38-cp38-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp39-cp39-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp39-cp39-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp39-cp39-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post14-cp39-cp39-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.9 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp39-cp39-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp39-cp39-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp39-cp39-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post11-cp39-cp39-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.9 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp39-cp39-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp39-cp39-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp39-cp39-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post8-cp39-cp39-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.9 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp39-cp39-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-1.11.0.post14-cp39-cp39-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.9 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp39-cp39-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-1.11.0.post11-cp39-cp39-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.9 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp39-cp39-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp39-cp39-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp39-cp39-linux_x86_64.whl pip3 install torch_npu-1.11.0.post8-cp39-cp39-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
AArch64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp310-cp310-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp310-cp310-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp310-cp310-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post14-cp310-cp310-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.10 |
AArch64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp310-cp310-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp310-cp310-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp310-cp310-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post11-cp310-cp310-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.10 |
AArch64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/torch-1.11.0-cp310-cp310-manylinux2014_aarch64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp310-cp310-linux_aarch64.whl # 安装命令 pip3 install torch-1.11.0-cp310-cp310-manylinux2014_aarch64.whl pip3 install torch_npu-1.11.0.post8-cp310-cp310-linux_aarch64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc2 |
Python 3.10 |
X86_64 |
8.0.RC2 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch1.11.0/torch_npu-1.11.0.post14-cp310-cp310-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-1.11.0.post14-cp310-cp310-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
6.0.rc1 |
Python 3.10 |
X86_64 |
8.0.RC1 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc1-pytorch1.11.0/torch_npu-1.11.0.post11-cp310-cp310-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-1.11.0.post11-cp310-cp310-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
|||||
5.0.0 |
Python 3.10 |
X86_64 |
7.0.0 |
Pip |
# 下载PyTorch安装包 wget https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp310-cp310-linux_x86_64.whl # 下载torch_npu插件包 wget https://gitee.com/ascend/pytorch/releases/download/v5.0.0-pytorch1.11.0/torch_npu-1.11.0.post8-cp310-cp310-linux_x86_64.whl # 安装命令 pip3 install torch-1.11.0+cpu-cp310-cp310-linux_x86_64.whl pip3 install torch_npu-1.11.0.post8-cp310-cp310-linux_x86_64.whl # 根据“安装前必读”完成环境变量配置 |
|
Source |
# 具体步骤请参见下方“源码编译安装”。 |
- 如果下载whl包时出现certificate相关报错,可在下载命令后加上--no-check-certificate参数避免此问题。样例代码如下所示。
wget https://gitee.com/ascend/pytorch/releases/download/插件包 --no-check-certificate
- 执行如下命令,若返回True则说明安装成功。
python3 -c "import torch;import torch_npu;print(torch_npu.npu.is_available())"
- 若Pytorch版本为2.1.0,出现“找不到google或者protobuf或者protobuf版本过高”报错时,需执行如下命令:
pip3 install protobuf==3.20