提交 2175d6a6 编写于 作者: D dengwentao

add instructions for MSLIBS_CACHE_PATH

上级 5aafe2f0
......@@ -56,7 +56,7 @@
bash build.sh -e cpu -z -j4
```
> - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。
> - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。
> - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。
> - 如果编译机性能较好,可在执行中增加-j{线程数}来增加线程数量。如`bash build.sh -e cpu -z -j12`。
3. 执行如下命令安装MindSpore。
......
......@@ -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.
> - 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 .
> - 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:
......
......@@ -81,7 +81,7 @@
bash build.sh -e d -z
```
> - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。
> - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。
> - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。
> - build.sh中默认的编译线程数为8,如果编译机性能较差可能会出现编译错误,可在执行中增加-j{线程数}来减少线程数量。如`bash build.sh -e d -z -j4`。
3. 执行如下命令安装MindSpore。
......
......@@ -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.
> - 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 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:
......
......@@ -61,7 +61,7 @@
bash build.sh -e gpu -M on -z
```
> - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。
> - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。
> - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。
> - build.sh中默认的编译线程数为8,如果编译机性能较差可能会出现编译错误,可在执行中增加-j{线程数}来减少线程数量。如`bash build.sh -e gpu -M on -z -j4`。
3. 执行如下命令安装MindSpore。
......
......@@ -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.
> - 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 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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册