Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97768cc4f1 | ||
|
|
7ccc615c8f | ||
|
|
8416c82f71 | ||
|
|
7f9180b9cb | ||
|
|
ef44e346f4 | ||
|
|
fc90b887b9 | ||
|
|
f3d1b422fe | ||
|
|
20a46fd2bf | ||
|
|
eaac1a63ad |
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user