From fff7b1265cafcbc805951740466521657bb3d5ad Mon Sep 17 00:00:00 2001 From: pengzirong Date: Tue, 14 Jun 2022 17:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8B=E8=BD=BD=E6=98=87?= =?UTF-8?q?=E8=85=BE=E9=80=82=E9=85=8D=E7=9A=84apex=E6=BA=90=E7=A0=81?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PyTorch Installation Guide/PyTorch Installation Guide.md | 4 ++-- ...yTorch\345\256\211\350\243\205\346\214\207\345\215\227.md" | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md b/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md index 1dbf866d8c..85f8a4402c 100644 --- a/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md +++ b/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md @@ -150,7 +150,7 @@ When setting up the environment for PyTorch model development and running, you c bash build.sh --python=3.8 or bash build.sh --python=3.9 # PyTorch 1.5 does not support build and installation using Python 3.9. - + ``` Specify the Python version in the environment for build. The generated binary package is stored in the current dist directory **pytorch/pytorch/dist**. @@ -339,7 +339,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.4.tr5 https://gitee.com/ascend/apex.git ``` The directory structure of the downloaded source code is as follows: diff --git "a/docs/zh/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227.md" "b/docs/zh/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227.md" index 23432e483a..9cbd60a7cb 100644 --- "a/docs/zh/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227.md" +++ "b/docs/zh/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227/PyTorch\345\256\211\350\243\205\346\214\207\345\215\227.md" @@ -352,7 +352,7 @@ 1. 运行如下命令,获取适配昇腾AI处理器的apex源代码。 ``` - git clone https://gitee.com/ascend/apex.git + git clone -b 2.0.4.tr5 https://gitee.com/ascend/apex.git ``` 下载的源码主要目录结构如下所示: -- Gitee