From e28e488116cf28ef7de3e874d3984f535f5d4d71 Mon Sep 17 00:00:00 2001 From: TingWang Date: Thu, 2 Apr 2020 17:10:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!2=20:?= =?UTF-8?q?=20Add=20instructions=20for=20MSLIBS=5FCACHE=5FPATH'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/mindspore_cpu_install.md | 2 +- install/mindspore_cpu_install_en.md | 2 +- install/mindspore_d_install.md | 2 +- install/mindspore_d_install_en.md | 2 +- install/mindspore_gpu_install.md | 2 +- install/mindspore_gpu_install_en.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install/mindspore_cpu_install.md b/install/mindspore_cpu_install.md index 64314259bd..8681979ad4 100644 --- a/install/mindspore_cpu_install.md +++ b/install/mindspore_cpu_install.md @@ -56,7 +56,7 @@ bash build.sh -e cpu -z -j4 ``` > - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。 - > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。 + > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 > - 如果编译机性能较好,可在执行中增加-j{线程数}来增加线程数量。如`bash build.sh -e cpu -z -j12`。 3. 执行如下命令安装MindSpore。 diff --git a/install/mindspore_cpu_install_en.md b/install/mindspore_cpu_install_en.md index c394094268..12ce0ff9f9 100644 --- a/install/mindspore_cpu_install_en.md +++ b/install/mindspore_cpu_install_en.md @@ -56,7 +56,7 @@ This document describes how to quickly install MindSpore on a CPU environment. bash build.sh -e cpu -z -j4 ``` > - Before running the preceding command, ensure that the paths where the executable files cmake and patch store have been added to the environment variable PATH. - > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. The third-party libraries will be installed in build/.mslib, you can change the installation directory by setting the environment variable MSLIBS_CACHE_PATH . + > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. > - If the compiler performance is strong, you can add -j{Number of threads} in to script to increase the number of threads. For example, `bash build.sh -e cpu -z -j12`. 3. Run the following command to install MindSpore: diff --git a/install/mindspore_d_install.md b/install/mindspore_d_install.md index 5903ef65cb..1cd65d583a 100644 --- a/install/mindspore_d_install.md +++ b/install/mindspore_d_install.md @@ -81,7 +81,7 @@ bash build.sh -e d -z ``` > - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。 - > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。 + > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 > - build.sh中默认的编译线程数为8,如果编译机性能较差可能会出现编译错误,可在执行中增加-j{线程数}来减少线程数量。如`bash build.sh -e d -z -j4`。 3. 执行如下命令安装MindSpore。 diff --git a/install/mindspore_d_install_en.md b/install/mindspore_d_install_en.md index 6969766c3a..7439bfc76d 100644 --- a/install/mindspore_d_install_en.md +++ b/install/mindspore_d_install_en.md @@ -80,7 +80,7 @@ The compilation and installation must be performed on the Ascend 910 AI processo bash build.sh -e d -z ``` > - Before running the preceding command, ensure that the paths where the executable files cmake and patch store have been added to the environment variable PATH. - > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. The third-party libraries will be installed in build/.mslib, you can change the installation directory by setting the environment variable MSLIBS_CACHE_PATH . + > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. > - In the build.sh script, the default number of compilation threads is 8. If the compiler performance is poor, compilation errors may occur. You can add -j{Number of threads} in to script to reduce the number of threads. For example, `bash build.sh -e d -z -j4`. 3. Run the following command to install MindSpore: diff --git a/install/mindspore_gpu_install.md b/install/mindspore_gpu_install.md index d6f9545c7e..205a77d61b 100644 --- a/install/mindspore_gpu_install.md +++ b/install/mindspore_gpu_install.md @@ -61,7 +61,7 @@ bash build.sh -e gpu -M on -z ``` > - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。 - > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。 + > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 > - build.sh中默认的编译线程数为8,如果编译机性能较差可能会出现编译错误,可在执行中增加-j{线程数}来减少线程数量。如`bash build.sh -e gpu -M on -z -j4`。 3. 执行如下命令安装MindSpore。 diff --git a/install/mindspore_gpu_install_en.md b/install/mindspore_gpu_install_en.md index 26a4444ecb..f9f7db7539 100644 --- a/install/mindspore_gpu_install_en.md +++ b/install/mindspore_gpu_install_en.md @@ -61,7 +61,7 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ bash build.sh -e gpu -M on -z ``` > - Before running the preceding command, ensure that the paths where the executable files cmake and patch store have been added to the environment variable PATH. - > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. The third-party libraries will be installed in build/.mslib, you can change the installation directory by setting the environment variable MSLIBS_CACHE_PATH . + > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. > - In the build.sh script, the default number of compilation threads is 8. If the compiler performance is poor, compilation errors may occur. You can add -j{Number of threads} in to script to reduce the number of threads. For example, `bash build.sh -e gpu -M on -z -j4`. 3. Run the following command to install MindSpore: -- Gitee