Compare commits

...
9 Commits
Author SHA1 Message Date
i-robot 97768cc4f1 !1038 网络模型移植与训练指南修改
Merge pull request !1038 from 彭子荣/2.0.3.tr5
2022-07-11 12:15:32 +00:00
pengzirong 7ccc615c8f 网络移植与训练指南新增硬件支持说明 2022-07-11 14:53:13 +08:00
weili10 8416c82f71 !907 安装指南资料修改
Merge pull request !907 from 彭子荣/2.0.3.tr5
2022-06-15 07:19:17 +00:00
pengzirong 7f9180b9cb 修改下载昇腾适配的apex源码命令 2022-06-14 17:21:58 +08:00
weili10 ef44e346f4 !843 README更新
Merge pull request !843 from 彭子荣/2.0.3.tr5
2022-05-25 02:47:11 +00:00
pengzirong fc90b887b9 readme更新 2022-05-24 18:33:48 +08:00
i-robot f3d1b422fe !482 Pytorch 安装指南 资料更新
Merge pull request !482 from 彭子荣/2.0.3.tr5
2022-03-23 07:39:56 +00:00
pengzirong 20a46fd2bf update 2022-03-22 09:58:50 +08:00
pengzirong eaac1a63ad 新增 版本配套描述列表 2022-03-21 10:58:00 +08:00
4 changed files with 27 additions and 6 deletions
+4
View File
@@ -38,6 +38,10 @@ apt-get install -y gcc g++ make build-essential libssl-dev zlib1g-dev libbz2-dev
当前支持pytorch 1.5.0和1.8.1的版本。根据需求,在当前仓库根目录pytorch/下获取原生PyTorch的源代码
```sh
//昇腾Pytorch
git clone -b 2.0.3.tr5 https://gitee.com/ascend/pytorch.git
cd pytorch
// 1.5.0 版本
git clone -b v1.5.0 --depth=1 https://github.com/pytorch/pytorch.git
// 1.8.1 版本
@@ -329,7 +329,7 @@ After the software packages are installed, configure environment variables to us
1. Run the following command to obtain the Apex source code adapted to Ascend AI Processors:
```
git clone https://gitee.com/ascend/apex.git
git clone -b 2.0.3.tr5 https://gitee.com/ascend/apex.git
```
The directory structure of the downloaded source code is as follows:
@@ -33,10 +33,21 @@
#### 前提条件<a name="zh-cn_topic_0000001105856382_zh-cn_topic_0275872734_section108914373254"></a>
- 需完成CANN开发或运行环境的安装,具体操作请参考《CANN 软件安装指南》。
- 需安装3.12.0以上版本的CMake,安装方法请参考[CMake安装方法](#CMake安装方法md)。
- 需确保已安装7.3.0以上版本的gcc,7.3.0版本gcc具体安装及使用方式请参考[安装7.3.0版本gcc](#安装7-3-0版本gccmd)。
- 需安装python版本为3.7.5或3.8。
- 需完成CANN开发或运行环境的安装,具体操作请参考《CANN 软件安装指南》。
##### Ascend配套软件
| AscendPytorch版本 | CANN版本 | 支持PyTorch版本 |
| :---------------- | ---------- | -------------------------------------- |
| 2.0.2 | CANN 5.0.2 | 1.5.0 |
| 2.0.3 | CANN 5.0.3 | 1.5.0/1.8.1(1.8.1仅支持resnet50模型) |
- 需安装3.12.0以上版本的CMake,安装方法请参考[CMake安装方法](#CMake安装方法md)。
- 需确保已安装7.3.0以上版本的gcc,7.3.0版本gcc具体安装及使用方式请参考[安装7.3.0版本gcc](#安装7-3-0版本gccmd)。
- 需安装python版本为3.7.5或3.8。
- 需确保环境中已安装patch、git工具,以Ubuntu和CentOS系统为例,命令如下:
- Ubuntu系统
@@ -329,7 +340,7 @@
1. 运行如下命令,获取适配昇腾AI处理器的apex源代码。
```
git clone https://gitee.com/ascend/apex.git
git clone -b 2.0.3.tr5 https://gitee.com/ascend/apex.git
```
下载的源码主要目录结构如下所示:
@@ -546,6 +546,12 @@ Ascend平台提供了脚本转换工具使用户能通过命令行方式将训
详情请参考《CANN 软件安装指南》安装开发环境。
##### 硬件支持
aarch64架构推荐使用:Atlas800-9000+kunpeng920+Ascend910+NVMe 3.2T+750GRAM
X86_64架构推荐使用:Atlas800-9010+Intel Platinum8260+Ascend910+NVMe 3.2T+750GRAM
<h4 id="操作指南md">操作指南</h4>
##### 参数说明<a name="zh-cn_topic_0000001086713630_section21951346163910"></a>