提交 6d306bea 编写于 作者: W wukesong

modify install docs

上级 0c5959e2
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
-[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。 -[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。
```bash ```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install mindspore_ascend-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
### 从源码编译安装 ### 从源码编译安装
...@@ -97,8 +97,8 @@ ...@@ -97,8 +97,8 @@
3. 执行如下命令安装MindSpore。 3. 执行如下命令安装MindSpore。
```bash ```bash
chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl chmod +x build/package/mindspore_ascend-{version}-cp37-cp37m-linux_{arch}.whl
pip install build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install build/package/mindspore_ascend-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
## 配置环境变量 ## 配置环境变量
...@@ -108,15 +108,14 @@ ...@@ -108,15 +108,14 @@
```bash ```bash
# control log level. 0-DEBUG, 1-INFO, 2-WARNING, 3-ERROR, default level is WARNING. # control log level. 0-DEBUG, 1-INFO, 2-WARNING, 3-ERROR, default level is WARNING.
export GLOG_v=2 export GLOG_v=2
# the root directory of run package # Conda environmental options
LOCAL_ASCEND=/usr/local/Ascend LOCAL_ASCEND=/usr/local/Ascend # the root directory of run package
# Python library that TBE implementation depends on
export TBE_IMPL_PATH=${LOCAL_ASCEND}/opp/op_impl/built-in/ai_core/tbe
export PYTHONPATH=${TBE_IMPL_PATH}:${PYTHONPATH}
# lib libraries that the run package depends on # lib libraries that the run package depends on
export LD_LIBRARY_PATH=${LOCAL_ASCEND}/add-ons/:${LOCAL_ASCEND}/fwkacllib/lib64:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=${LOCAL_ASCEND}/add-ons/:${LOCAL_ASCEND}/fwkacllib/lib64:${LD_LIBRARY_PATH}
# TBE operator compilation tool path # Environment variables that must be configured
export PATH=${LOCAL_ASCEND}/fwkacllib/ccec_compiler/bin/:${PATH} export TBE_IMPL_PATH=${LOCAL_ASCEND}/opp/op_impl/built-in/ai_core/tbe # TBE operator implementation tool path
export PATH=${LOCAL_ASCEND}/fwkacllib/ccec_compiler/bin/:${PATH} # TBE operator compilation tool path
export PYTHONPATH=${TBE_IMPL_PATH}:${PYTHONPATH} # Python library that TBE implementation depends on
``` ```
## 安装验证 ## 安装验证
......
...@@ -71,7 +71,7 @@ This document describes how to quickly install MindSpore on an Ascend AI process ...@@ -71,7 +71,7 @@ This document describes how to quickly install MindSpore on an Ascend AI process
- 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: - 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 ```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install mindspore_ascend-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
### Installing Using the Source Code ### Installing Using the Source Code
...@@ -96,8 +96,8 @@ The compilation and installation must be performed on the Ascend 910 AI processo ...@@ -96,8 +96,8 @@ The compilation and installation must be performed on the Ascend 910 AI processo
3. Run the following command to install MindSpore: 3. Run the following command to install MindSpore:
```bash ```bash
chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl chmod +x build/package/mindspore_ascend-{version}-cp37-cp37m-linux_{arch}.whl
pip install build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install build/package/mindspore_ascend-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
## Configuring Environment Variables ## Configuring Environment Variables
...@@ -107,15 +107,14 @@ The compilation and installation must be performed on the Ascend 910 AI processo ...@@ -107,15 +107,14 @@ The compilation and installation must be performed on the Ascend 910 AI processo
```bash ```bash
# control log level. 0-DEBUG, 1-INFO, 2-WARNING, 3-ERROR, default level is WARNING. # control log level. 0-DEBUG, 1-INFO, 2-WARNING, 3-ERROR, default level is WARNING.
export GLOG_v=2 export GLOG_v=2
# the root directory of run package # Conda environmental options
LOCAL_ASCEND=/usr/local/Ascend LOCAL_ASCEND=/usr/local/Ascend # the root directory of run package
# Python library that TBE implementation depends on
export TBE_IMPL_PATH=${LOCAL_ASCEND}/opp/op_impl/built-in/ai_core/tbe
export PYTHONPATH=${TBE_IMPL_PATH}:${PYTHONPATH}
# lib libraries that the run package depends on # lib libraries that the run package depends on
export LD_LIBRARY_PATH=${LOCAL_ASCEND}/add-ons/:${LOCAL_ASCEND}/fwkacllib/lib64:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=${LOCAL_ASCEND}/add-ons/:${LOCAL_ASCEND}/fwkacllib/lib64:${LD_LIBRARY_PATH}
# TBE operator compilation tool path # Environment variables that must be configured
export PATH=${LOCAL_ASCEND}/fwkacllib/ccec_compiler/bin/:${PATH} export TBE_IMPL_PATH=${LOCAL_ASCEND}/opp/op_impl/built-in/ai_core/tbe # TBE operator implementation tool path
export PATH=${LOCAL_ASCEND}/fwkacllib/ccec_compiler/bin/:${PATH} # TBE operator compilation tool path
export PYTHONPATH=${TBE_IMPL_PATH}:${PYTHONPATH} # Python library that TBE implementation depends on
``` ```
## Installation Verification ## Installation Verification
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
-[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。 -[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。
```bash ```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install mindspore_gpu-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
### 从源码编译安装 ### 从源码编译安装
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
3. 执行如下命令安装MindSpore。 3. 执行如下命令安装MindSpore。
```bash ```bash
chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl chmod +x build/package/mindspore_gpu-{version}-cp37-cp37m-linux_{arch}.whl
pip install build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install build/package/mindspore_gpu-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
## 安装验证 ## 安装验证
......
...@@ -56,7 +56,7 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ ...@@ -56,7 +56,7 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ
- 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: - 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 ```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install mindspore_gpu-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
### Installing Using the Source Code ### Installing Using the Source Code
...@@ -78,8 +78,8 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ ...@@ -78,8 +78,8 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ
3. Run the following command to install MindSpore: 3. Run the following command to install MindSpore:
```bash ```bash
chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl chmod +x build/package/mindspore_gpu-{version}-cp37-cp37m-linux_{arch}.whl
pip install build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl pip install build/package/mindspore_gpu-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
## Installation Verification ## Installation Verification
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册