You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- @rem install MindSpore-CPU for windows using pip
- @echo off
-
- IF "%PY_VER%" == "3.7" (
- echo "building conda package for python3.7"
- pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.3.0/MindSpore/cpu/x86_64/mindspore-1.3.0-cp37-cp37m-win_amd64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
- ) ELSE IF "%PY_VER%" == "3.9" (
- echo "building conda package for python3.9, which is not supported on MindSpore 1.3.0"
- EXIT /b 1
- ) ELSE (
- echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
- EXIT /b 1
- )
|