diff --git a/docs/en/PyTorch API Support List/PyTorch API Support List.md b/docs/en/PyTorch API Support List/PyTorch API Support List.md index f1d83dffd361f15774265dc7b641cee463d8a917..e0776803554b8ee33c8377fad2b03d27c1684647 100644 --- a/docs/en/PyTorch API Support List/PyTorch API Support List.md +++ b/docs/en/PyTorch API Support List/PyTorch API Support List.md @@ -1,17 +1,17 @@ # PyTorch API Support List -- [Tensors](#tensors.md) -- [Generators](#generators.md) -- [Random sampling](#random-sampling.md) -- [Serialization](#serialization.md) -- [Math operations](#math-operations.md) -- [Utilities](#utilities.md) -- [Other](#other.md) -- [torch.Tensor](#torch-tensor.md) -- [Layers \(torch.nn\)](#layers-(torch-nn).md) -- [Functions\(torch.nn.functional\)](#functions(torch-nn-functional).md) -- [torch.distributed](#torch-distributed.md) -- [NPU and CUDA Function Alignment](#npu-and-cuda-function-alignment.md) -
@@ -361,7 +361,7 @@ |
---|
@@ -424,7 +424,7 @@ |
---|
@@ -641,7 +641,7 @@ |
---|
@@ -669,7 +669,7 @@ |
---|
@@ -1873,7 +1873,7 @@ |
---|
@@ -1915,7 +1915,7 @@ |
---|
@@ -1978,7 +1978,7 @@ |
---|
@@ -4484,7 +4484,7 @@ |
---|
@@ -6710,7 +6710,7 @@ |
---|
@@ -7417,7 +7417,7 @@ |
---|
@@ -7641,7 +7641,7 @@ |
---|
diff --git a/docs/en/PyTorch-Installation-Guide/PyTorch-Installation-Guide.md b/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md
similarity index 94%
rename from docs/en/PyTorch-Installation-Guide/PyTorch-Installation-Guide.md
rename to docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md
index f48cc191c6b0e314e6cc07641f341e8f5d4d16a5..1239a71fed6a2e9f1331dd796043de22b49ff1b0 100644
--- a/docs/en/PyTorch-Installation-Guide/PyTorch-Installation-Guide.md
+++ b/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md
@@ -1,42 +1,42 @@
# FrameworkPTAdapter 2.0.2 PyTorch Installation Guide
-- [Overview](#overview.md)
-- [Manual Build and Installation](#manual-build-and-installation.md)
- - [Prerequisites](#prerequisites.md)
- - [Installing the PyTorch Framework](#installing-the-pytorch-framework.md)
- - [Configuring Environment Variables](#configuring-environment-variables.md)
- - [Installing the Mixed Precision Module](#installing-the-mixed-precision-module.md)
-- [Using the Ascend Hub Image](#using-the-ascend-hub-image.md)
- - [Obtaining the PyTorch Image from the Ascend Hub](#obtaining-the-pytorch-image-from-the-ascend-hub.md)
- - [Configuring Environment Variables](#configuring-environment-variables-0.md)
-- [References](#references.md)
- - [Installing CMake](#installing-cmake.md)
- - [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0.md)
- - [What Do I Do If "torch 1.5.0xxxx" and "torchvision" Do Not Match When torch-\*.whl Is Installed?](#what-do-i-do-if-torch-1-5-0xxxx-and-torchvision-do-not-match-when-torch--whl-is-installed.md)
-Overview+- [Overview](#overview) +- [Manual Build and Installation](#manual-build-and-installation) + - [Prerequisites](#prerequisites) + - [Installing the PyTorch Framework](#installing-the-pytorch-framework) + - [Configuring Environment Variables](#configuring-environment-variables) + - [Installing the Mixed Precision Module](#installing-the-mixed-precision-module) +- [Using the Ascend Hub Image](#using-the-ascend-hub-image) + - [Obtaining the PyTorch Image from the Ascend Hub](#obtaining-the-pytorch-image-from-the-ascend-hub) + - [Configuring Environment Variables](#configuring-environment-variables-0) +- [References](#references) + - [Installing CMake](#installing-cmake) + - [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0) + - [What Do I Do If "torch 1.5.0xxxx" and "torchvision" Do Not Match When torch-\*.whl Is Installed?](#what-do-i-do-if-torch-1-5-0xxxx-and-torchvision-do-not-match-when-torch--whl-is-installed) +OverviewWhen setting up the environment for PyTorch model porting and training, you can manually build and install the modules adapted to the PyTorch framework on a training server, or use the base image provided by the Ascend Hub image center \(the PyTorch module and mixed precision module have been installed in the image\). **Figure 1** Environment setup process  -Manual Build and Installation+Manual Build and Installation-- **[Prerequisites](#prerequisites.md)** +- **[Prerequisites](#prerequisites)** -- **[Installing the PyTorch Framework](#installing-the-pytorch-framework.md)** +- **[Installing the PyTorch Framework](#installing-the-pytorch-framework)** -- **[Configuring Environment Variables](#configuring-environment-variables.md)** +- **[Configuring Environment Variables](#configuring-environment-variables)** -- **[Installing the Mixed Precision Module](#installing-the-mixed-precision-module.md)** +- **[Installing the Mixed Precision Module](#installing-the-mixed-precision-module)** -Prerequisites+Prerequisites## Prerequisites - The development or operating environment of CANN has been installed. For details, see the _CANN Software Installation Guide_. -- CMake 3.12.0 or later has been installed. For details about how to install CMake, see [Installing CMake](#installing-cmake.md). -- GCC 7.3.0 or later has been installed. For details about how to install and use GCC 7.3.0, see [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0.md). +- CMake 3.12.0 or later has been installed. For details about how to install CMake, see [Installing CMake](#installing-cmake). +- GCC 7.3.0 or later has been installed. For details about how to install and use GCC 7.3.0, see [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0). - The Patch and Git tools have been installed in the environment. To install the tools for Ubuntu and CentOS, run the following commands: - Ubuntu @@ -54,7 +54,7 @@ When setting up the environment for PyTorch model porting and training, you can -Installing the PyTorch Framework+Installing the PyTorch Framework## Installation Process @@ -155,7 +155,7 @@ When setting up the environment for PyTorch model porting and training, you can >**pip3 list | grep torch** -Configuring Environment Variables+Configuring Environment VariablesAfter the software packages are installed, configure environment variables to use Ascend PyTorch. You are advised to build a startup script, for example, the **set\_env.sh** script, and run **source set\_env.sh** to configure the environment variables. The content of the **set\_env.sh** script is as follows \(the **root** user is used as the installation user and the default installation path is used\): @@ -224,7 +224,7 @@ export HCCL_IF_IP="1.1.1.1" # 1.1.1.1 is the NIC IP address of the host. Change | |
---|---|
Dynamic library search path. Set this variable based on the preceding example. -If you need to upgrade GCC in OSs such as CentOS, Debian, and BC-Linux, add ${install_path}/lib64 to the LD_LIBRARY_PATH variable of the dynamic library search path. Replace {install_path} with the GCC installation path. For details, see 5. +If you need to upgrade GCC in OSs such as CentOS, Debian, and BC-Linux, add ${install_path}/lib64 to the LD_LIBRARY_PATH variable of the dynamic library search path. Replace {install_path} with the GCC installation path. For details, see 5. |
|
@@ -279,12 +279,12 @@ export HCCL_IF_IP="1.1.1.1" # 1.1.1.1 is the NIC IP address of the host. Change |
For details, see Model Selection.
+For details, see Model Selection.
For details, see Model Porting Evaluation.
+For details, see Model Porting Evaluation.
For details, see Environment Setup.
+For details, see Environment Setup.
For details, see Model Porting.
+For details, see Model Porting.
For details, see Model Training.
+For details, see Model Training.
For details, see Performance Optimization and Analysis.
+For details, see Performance Optimization and Analysis.
For details, see Precision Commissioning.
+For details, see Precision Commissioning.
For details, see Model Saving and Conversion and "ATC Tool Instructions" in the CANN Auxiliary Development Tool User Guide .
+For details, see Model Saving and Conversion and "ATC Tool Instructions" in the CANN Auxiliary Development Tool User Guide .
Describes how to prepare the environment, port models, commission models, and resolve other common problems. For details, see FAQs.
+Describes how to prepare the environment, port models, commission models, and resolve other common problems. For details, see FAQs.
@@ -5405,7 +5405,7 @@ |
---|
diff --git a/docs/en/RELEASENOTE/RELEASENOTE.md b/docs/en/RELEASENOTE/RELEASENOTE.md
index 47a9de634802cca189dcca262576ac69dbba1115..1e1fecb717753e094e27dab245d4651fffb05006 100644
--- a/docs/en/RELEASENOTE/RELEASENOTE.md
+++ b/docs/en/RELEASENOTE/RELEASENOTE.md
@@ -1,15 +1,15 @@
# PyTorch Release Notes 2.0.2
-- [Before You Start](#before-you-start.md)
-- [New Features](#new-features.md)
-- [Modified Features](#modified-features.md)
-- [Resolved Issues](#resolved-issues.md)
-- [Known Issues](#known-issues.md)
-- [Compatibility](#compatibility.md)
-Before You Start+- [Before You Start](#before-you-start) +- [New Features](#new-features) +- [Modified Features](#modified-features) +- [Resolved Issues](#resolved-issues) +- [Known Issues](#known-issues) +- [Compatibility](#compatibility) +Before You StartThis framework is modified based on the open-source PyTorch 1.5.0 primarily developed by Facebook, inherits native PyTorch features, and uses NPUs for dynamic image training. Models are adapted by operator granularity, code can be reused, and current networks can be ported and used on NPUs with only device types or data types modified. -New Features+New Features**Table 1** Features supported by PyTorch @@ -84,15 +84,15 @@ This framework is modified based on the open-source PyTorch 1.5.0 primarily deve |
---|
@@ -131,7 +131,7 @@ N/A |
---|