diff --git a/install/mindspore_d_install.md b/install/mindspore_d_install.md index c52add9e4c2d89a500507c01349a1f3e565ff631..eaccf67a89635f74274888b55bce95c8f7c78ea1 100644 --- a/install/mindspore_d_install.md +++ b/install/mindspore_d_install.md @@ -72,7 +72,7 @@ - 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。 ```bash - pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + pip install mindspore_ascend-{version}-cp37-cp37m-linux_{arch}.whl ``` ### 从源码编译安装 @@ -97,8 +97,8 @@ 3. 执行如下命令安装MindSpore。 ```bash - chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl - pip install 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_ascend-{version}-cp37-cp37m-linux_{arch}.whl ``` ## 配置环境变量 @@ -108,15 +108,14 @@ ```bash # control log level. 0-DEBUG, 1-INFO, 2-WARNING, 3-ERROR, default level is WARNING. export GLOG_v=2 - # the root directory of run package - LOCAL_ASCEND=/usr/local/Ascend - # 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} + # Conda environmental options + LOCAL_ASCEND=/usr/local/Ascend # the root directory of run package # lib libraries that the run package depends on export LD_LIBRARY_PATH=${LOCAL_ASCEND}/add-ons/:${LOCAL_ASCEND}/fwkacllib/lib64:${LD_LIBRARY_PATH} - # TBE operator compilation tool path - export PATH=${LOCAL_ASCEND}/fwkacllib/ccec_compiler/bin/:${PATH} + # Environment variables that must be configured + 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 ``` ## 安装验证 diff --git a/install/mindspore_d_install_en.md b/install/mindspore_d_install_en.md index 634ab758dc7ed20b734db94cbb8673e34d307f3e..90bc7a9dc0045762687cd2f00fe9ac61e6a5c779 100644 --- a/install/mindspore_d_install_en.md +++ b/install/mindspore_d_install_en.md @@ -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: ```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 @@ -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: ```bash - chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl - pip install 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_ascend-{version}-cp37-cp37m-linux_{arch}.whl ``` ## Configuring Environment Variables @@ -107,15 +107,14 @@ The compilation and installation must be performed on the Ascend 910 AI processo ```bash # control log level. 0-DEBUG, 1-INFO, 2-WARNING, 3-ERROR, default level is WARNING. export GLOG_v=2 - # the root directory of run package - LOCAL_ASCEND=/usr/local/Ascend - # 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} + # Conda environmental options + LOCAL_ASCEND=/usr/local/Ascend # the root directory of run package # lib libraries that the run package depends on export LD_LIBRARY_PATH=${LOCAL_ASCEND}/add-ons/:${LOCAL_ASCEND}/fwkacllib/lib64:${LD_LIBRARY_PATH} - # TBE operator compilation tool path - export PATH=${LOCAL_ASCEND}/fwkacllib/ccec_compiler/bin/:${PATH} + # Environment variables that must be configured + 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 diff --git a/install/mindspore_gpu_install.md b/install/mindspore_gpu_install.md index e0645982e6646c2e5d6fc61bfbd56e4f2b7bfd06..537b32933aced82e98e0debc2a5239e3a2922af0 100644 --- a/install/mindspore_gpu_install.md +++ b/install/mindspore_gpu_install.md @@ -56,7 +56,7 @@ - 从[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。 ```bash - pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl + pip install mindspore_gpu-{version}-cp37-cp37m-linux_{arch}.whl ``` ### 从源码编译安装 @@ -78,8 +78,8 @@ 3. 执行如下命令安装MindSpore。 ```bash - chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl - pip install 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_gpu-{version}-cp37-cp37m-linux_{arch}.whl ``` ## 安装验证 diff --git a/install/mindspore_gpu_install_en.md b/install/mindspore_gpu_install_en.md index eb2828117e29c753fa75df04543bd3c5457fd6aa..4c41f09d87c8ad1f8cc16651314a7fbf4bb3dd4a 100644 --- a/install/mindspore_gpu_install_en.md +++ b/install/mindspore_gpu_install_en.md @@ -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: ```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 @@ -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: ```bash - chmod +x build/package/mindspore-{version}-cp37-cp37m-linux_{arch}.whl - pip install 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_gpu-{version}-cp37-cp37m-linux_{arch}.whl ``` ## Installation Verification