diff --git a/install/mindspore_cpu_install.md b/install/mindspore_cpu_install.md index 2b2820fd49d39b4c03bb3338e66d9a36a427a48c..9631cb1b79b628bd2c43016bf27d5f1b7fa4c174 100644 --- a/install/mindspore_cpu_install.md +++ b/install/mindspore_cpu_install.md @@ -9,6 +9,7 @@ - [系统要求和软件依赖](#系统要求和软件依赖) - [Conda安装(可选)](#conda安装可选) - [安装指南](#安装指南) + - [通过可执行文件安装](#通过可执行文件安装) - [从源码编译安装](#从源码编译安装) - [安装MindArmour](#安装mindarmour) @@ -42,6 +43,20 @@ ## 安装指南 +### 通过可执行文件安装 + +1. 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。 + + ```bash + pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. 执行如下命令,如果没有提示`No module named 'mindspore'`等加载错误的信息,则说明安装成功。 + + ```bash + python -c 'import mindspore' + ``` + ### 从源码编译安装 1. 从代码仓下载源码。 @@ -88,6 +103,20 @@ ## 安装指南 +### 通过可执行文件安装 + +1. 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindArmour。 + + ```bash + pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. 执行如下命令,如果没有提示`No module named 'mindarmour'`等加载错误的信息,则说明安装成功。 + + ```bash + python -c 'import mindarmour' + ``` + ### 从源码编译安装 1. 从代码仓下载源码。 diff --git a/install/mindspore_cpu_install_en.md b/install/mindspore_cpu_install_en.md index 05361b5daa339e740ac39e7449b73d8cb956c880..9f82edaf36b95270e7d913949b5a07683117022b 100644 --- a/install/mindspore_cpu_install_en.md +++ b/install/mindspore_cpu_install_en.md @@ -9,6 +9,7 @@ This document describes how to quickly install MindSpore on a CPU environment. - [System Requirements and Software Dependencies](#system-requirements-and-software-dependencies) - [(Optional) Installing Conda](#optional-installing-conda) - [Installation Guide](#installation-guide) + - [Installing Using Executable Files](#installing-using-executable-files) - [Installing Using the Source Code](#installing-using-the-source-code) - [Installing MindArmour](#installing-mindarmour) @@ -42,6 +43,20 @@ This document describes how to quickly install MindSpore on a CPU environment. ## Installation Guide +### Installing Using Executable Files + +1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindSpore: + + ```bash + pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. Run the following command. If no loading error message such as `No module named 'mindspore'` is displayed, the installation is successful. + + ```bash + python -c 'import mindspore' + ``` + ### Installing Using the Source Code 1. Download the source code from the code repository. @@ -88,6 +103,20 @@ If you need to conduct AI model security research or enhance the security of the ## Installation Guide +### Installing Using Executable Files + +1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindArmour: + + ```bash + pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. Run the following command. If no loading error message such as `No module named 'mindarmour'` is displayed, the installation is successful. + + ```bash + python -c 'import mindarmour' + ``` + ### Installing Using the Source Code 1. Download the source code from the code repository. diff --git a/install/mindspore_d_install.md b/install/mindspore_d_install.md index b7a85377af4361f0e26a896680f996400e55221b..3c9b50e5ba62dba930f0168d5cca731c9c55d9cc 100644 --- a/install/mindspore_d_install.md +++ b/install/mindspore_d_install.md @@ -11,6 +11,7 @@ - [Conda安装(可选)](#conda安装可选) - [配套软件包依赖配置](#配套软件包依赖配置) - [安装指南](#安装指南) + - [通过可执行文件安装](#通过可执行文件安装) - [从源码编译安装](#从源码编译安装) - [配置环境变量](#配置环境变量) - [安装验证](#安装验证) @@ -65,6 +66,14 @@ ## 安装指南 +### 通过可执行文件安装 + +- 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。 + + ```bash + pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + ``` + ### 从源码编译安装 必须在Ascend 910 AI处理器的环境上进行编译安装。 @@ -156,6 +165,20 @@ ## 安装指南 +### 通过可执行文件安装 + +1. 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindInsight。 + + ```bash + pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。 + + ```bash + mindinsight start + ``` + ### 从源码编译安装 1. 从代码仓下载源码。 @@ -212,6 +235,20 @@ ## 安装指南 +### 通过可执行文件安装 + +1. 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindArmour。 + + ```bash + pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. 执行如下命令,如果没有提示`No module named 'mindarmour'`等加载错误的信息,则说明安装成功。 + + ```bash + python -c 'import mindarmour' + ``` + ### 从源码编译安装 1. 从代码仓下载源码。 diff --git a/install/mindspore_d_install_en.md b/install/mindspore_d_install_en.md index 4c5b2810d098626cece00ae8b602e71ec40bb471..fa6cf97e089fbb50b762bfa0a855ca7a6d15424a 100644 --- a/install/mindspore_d_install_en.md +++ b/install/mindspore_d_install_en.md @@ -11,6 +11,7 @@ This document describes how to quickly install MindSpore on an Ascend AI process - [(Optional) Installing Conda](#optional-installing-conda) - [Configuring software package Dependencies](#configuring-software-package-dependencies) - [Installation Guide](#installation-guide) + - [Installing Using Executable Files](#installing-using-executable-files) - [Installing Using the Source Code](#installing-using-the-source-code) - [Configuring Environment Variables](#configuring-environment-variables) - [Installation Verification](#installation-verification) @@ -64,6 +65,14 @@ This document describes how to quickly install MindSpore on an Ascend AI process ## Installation Guide +### Installing Using Executable Files + +- Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindSpore: + + ```bash + pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + ``` + ### Installing Using the Source Code The compilation and installation must be performed on the Ascend 910 AI processor environment. @@ -155,6 +164,20 @@ If you need to analyze information such as model scalars, graphs, and model trac ## Installation Guide +### Installing Using Executable Files + +1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindInsight: + + ```bash + pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. Run the following command. If `web address: http://127.0.0.1:8080` is displayed, the installation is successful. + + ```bash + mindinsight start + ``` + ### Installing Using the Source Code 1. Download the source code from the code repository. @@ -211,6 +234,20 @@ If you need to conduct AI model security research or enhance the security of the ## Installation Guide +### Installing Using Executable Files + +1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindArmour: + + ```bash + pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. Run the following command. If no loading error message such as `No module named 'mindarmour'` is displayed, the installation is successful. + + ```bash + python -c 'import mindarmour' + ``` + ### Installing Using the Source Code 1. Download the source code from the code repository. diff --git a/install/mindspore_gpu_install.md b/install/mindspore_gpu_install.md index edd98090fc90f39143821bc58c5570953e7f9edd..7bdf1afc63243be6f107e7fb7e0115e9f02070a4 100644 --- a/install/mindspore_gpu_install.md +++ b/install/mindspore_gpu_install.md @@ -10,6 +10,7 @@ - [系统要求和软件依赖](#系统要求和软件依赖) - [Conda安装(可选)](#conda安装可选) - [安装指南](#安装指南) + - [通过可执行文件安装](#通过可执行文件安装) - [从源码编译安装](#从源码编译安装) - [安装验证](#安装验证) - [安装MindArmour](#安装mindarmour) @@ -48,6 +49,14 @@ ## 安装指南 +### 通过可执行文件安装 + +- 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。 + + ```bash + pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + ``` + ### 从源码编译安装 1. 从代码仓下载源码。 @@ -119,6 +128,20 @@ ## 安装指南 +### 通过可执行文件安装 + +1. 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindArmour。 + + ```bash + pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. 执行如下命令,如果没有提示`No module named 'mindarmour'`等加载错误的信息,则说明安装成功。 + + ```bash + python -c 'import mindarmour' + ``` + ### 从源码编译安装 1. 从代码仓下载源码。 diff --git a/install/mindspore_gpu_install_en.md b/install/mindspore_gpu_install_en.md index 16c98d944fde23bae07f6ad8567dd5949a4036e6..8bee4177c55fead9eb9f9169e946a1f10da83d1b 100644 --- a/install/mindspore_gpu_install_en.md +++ b/install/mindspore_gpu_install_en.md @@ -10,6 +10,7 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ - [System Requirements and Software Dependencies](#system-requirements-and-software-dependencies) - [(Optional) Installing Conda](#optional-installing-conda) - [Installation Guide](#installation-guide) + - [Installing Using Executable Files](#installing-using-executable-files) - [Installing Using the Source Code](#installing-using-the-source-code) - [Installation Verification](#installation-verification) - [Installing MindArmour](#installing-mindarmour) @@ -48,6 +49,14 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ ## Installation Guide +### Installing Using Executable Files + +- Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindSpore: + + ```bash + pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + ``` + ### Installing Using the Source Code 1. Download the source code from the code repository. @@ -119,6 +128,20 @@ If you need to conduct AI model security research or enhance the security of the ## Installation Guide +### Installing Using Executable Files + +1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindArmour: + + ```bash + pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl + ``` + +2. Run the following command. If no loading error message such as `No module named 'mindarmour'` is displayed, the installation is successful. + + ```bash + python -c 'import mindarmour' + ``` + ### Installing Using the Source Code 1. Download the source code from the code repository.