add docker & conda scripts for 1.5.0

This commit is contained in:
yanghaoran 2021-10-13 10:26:36 +08:00
parent d79b658c68
commit e9605ffefb
36 changed files with 388 additions and 42 deletions

View File

@ -6,10 +6,10 @@ if [ "$(uname)" == Linux ]; then
echo "running on aarch64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/aarch64/mindspore_ascend-1.5.0rc1-cp37-cp37m-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/ascend/aarch64/mindspore_ascend-1.5.0-cp37-cp37m-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/aarch64/mindspore_ascend-1.5.0rc1-cp39-cp39-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/ascend/aarch64/mindspore_ascend-1.5.0-cp39-cp39-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
@ -18,10 +18,10 @@ if [ "$(uname)" == Linux ]; then
echo "running on x86_64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/x86_64/mindspore_ascend-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/ascend/x86_64/mindspore_ascend-1.5.0-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/x86_64/mindspore_ascend-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/ascend/x86_64/mindspore_ascend-1.5.0-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1

View File

@ -1,6 +1,6 @@
package:
name: mindspore-ascend
version: "1.5.0rc1"
version: "1.5.0"
build:
number: 0

View File

@ -0,0 +1,33 @@
#!/bin/bash
# install MindSpore-Ascend using pip
if [ "$(uname)" == Linux ]; then
if [ "$(arch)" == aarch64 ]; then
echo "running on aarch64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/aarch64/mindspore_ascend-1.5.0rc1-cp37-cp37m-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/aarch64/mindspore_ascend-1.5.0rc1-cp39-cp39-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
elif [ "$(arch)" == x86_64 ]; then
echo "running on x86_64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/x86_64/mindspore_ascend-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/ascend/x86_64/mindspore_ascend-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
else
echo "ERROR: unknown linux architecture, try building MindSpore conda package on a supported architecture."
exit 1
fi
fi

View File

@ -0,0 +1,40 @@
package:
name: mindspore-ascend
version: "1.5.0rc1"
build:
number: 0
rpaths:
- /usr/local/Ascend/nnae/latest/fwkacllib/lib64
- /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64
- /usr/local/Ascend/fwkacllib/lib64
- /usr/local/Ascend/nnae/latest/fwkacllib/lib64/plugin/opskernel
- /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/plugin/opskernel
- /usr/local/Ascend/fwkacllib/lib64/plugin/opskernel
- /usr/local/Ascend/opp/op_impl/built-in/ai_core/tbe/op_tiling
- /usr/local/Ascend/nnae/latest/opp/op_impl/built-in/ai_core/tbe/op_tiling
- /usr/local/Ascend/ascend-toolkit/latest/opp/op_impl/built-in/ai_core/tbe/op_tiling
requirements:
build:
- python
- pip
run:
- python
- numpy >=1.17.0
- protobuf >=3.13.0
- asttokens >=1.1.13
- pillow >=6.2.0
- scipy >=1.5.2
- cffi >=1.12.3
- wheel >=0.32.0
- decorator >=4.4.0
- setuptools >=40.8.0
- astunparse >=1.6.3
- packaging >=20.0
- psutil >=5.7.0
about:
home: https://www.mindspore.cn/
license: Apache 2.0
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

View File

@ -3,10 +3,10 @@
IF "%PY_VER%" == "3.7" (
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp37-cp37m-win_amd64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/cpu/x86_64/mindspore-1.5.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"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp39-cp39-win_amd64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/cpu/x86_64/mindspore-1.5.0-cp39-cp39-win_amd64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
) 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

View File

@ -15,10 +15,10 @@ if [ "$(uname)" == Linux ]; then
echo "running on aarch64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/aarch64/mindspore-1.5.0rc1-cp37-cp37m-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/cpu/aarch64/mindspore-1.5.0-cp37-cp37m-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/aarch64/mindspore-1.5.0rc1-cp39-cp39-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/cpu/aarch64/mindspore-1.5.0-cp39-cp39-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
@ -27,10 +27,10 @@ if [ "$(uname)" == Linux ]; then
echo "running on x86_64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/cpu/x86_64/mindspore-1.5.0-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/cpu/x86_64/mindspore-1.5.0-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1

View File

@ -1,6 +1,6 @@
package:
name: mindspore-cpu
version: "1.5.0rc1"
version: "1.5.0"
build:
number: 0

View File

@ -0,0 +1,13 @@
@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.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-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"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp39-cp39-win_amd64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
) 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
)

View File

@ -0,0 +1,42 @@
#!/bin/bash
# install MindSpore-CPU using pip
if [ "$(uname)" == Darwin ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "nothing happens yet"
else
echo "nothing happens yet"
fi
fi
if [ "$(uname)" == Linux ]; then
if [ "$(arch)" == aarch64 ]; then
echo "running on aarch64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/aarch64/mindspore-1.5.0rc1-cp37-cp37m-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/aarch64/mindspore-1.5.0rc1-cp39-cp39-linux_aarch64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
elif [ "$(arch)" == x86_64 ]; then
echo "running on x86_64 linux system."
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
else
echo "ERROR: unknown linux architecture, try building MindSpore conda package on a supported architecture."
exit 1
fi
fi

View File

@ -0,0 +1,30 @@
package:
name: mindspore-cpu
version: "1.5.0rc1"
build:
number: 0
requirements:
build:
- python
- pip
run:
- python
- numpy >=1.17.0
- protobuf >=3.13.0
- asttokens >=1.1.13
- pillow >=6.2.0
- scipy >=1.5.2
- cffi >=1.12.3
- wheel >=0.32.0
- decorator >=4.4.0
- setuptools >=40.8.0
- astunparse >=1.6.3
- packaging >=20.0
- psutil >=5.7.0
about:
home: https://www.mindspore.cn/
license: Apache 2.0
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

View File

@ -4,10 +4,10 @@
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1

View File

@ -1,6 +1,6 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
version: "1.5.0"
build:
number: 0

View File

@ -4,10 +4,10 @@
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1

View File

@ -1,6 +1,6 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
version: "1.5.0"
build:
number: 0

View File

@ -4,10 +4,10 @@
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1

View File

@ -1,6 +1,6 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
version: "1.5.0"
build:
number: 0

View File

@ -4,10 +4,10 @@
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1

View File

@ -1,6 +1,6 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
version: "1.5.0"
build:
number: 0

View File

@ -0,0 +1,15 @@
#!/bin/bash
# install MindSpore-GPU using pip
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
fi

View File

@ -0,0 +1,32 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
build:
number: 0
string: py37_cuda10.1
requirements:
build:
- python>=3.7, <3.8
- pip
run:
- python>=3.7, <3.8
- numpy >=1.17.0
- protobuf >=3.13.0
- asttokens >=1.1.13
- pillow >=6.2.0
- scipy >=1.5.2
- cffi >=1.12.3
- wheel >=0.32.0
- decorator >=4.4.0
- setuptools >=40.8.0
- astunparse >=1.6.3
- packaging >=20.0
- psutil >=5.7.0
- cudatoolkit >=10.1, <10.2
about:
home: https://www.mindspore.cn/
license: Apache 2.0
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

View File

@ -0,0 +1,15 @@
#!/bin/bash
# install MindSpore-GPU using pip
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
fi

View File

@ -0,0 +1,32 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
build:
number: 0
string: py37_cuda11.1
requirements:
build:
- python>=3.7, <3.8
- pip
run:
- python>=3.7, <3.8
- numpy >=1.17.0
- protobuf >=3.13.0
- asttokens >=1.1.13
- pillow >=6.2.0
- scipy >=1.5.2
- cffi >=1.12.3
- wheel >=0.32.0
- decorator >=4.4.0
- setuptools >=40.8.0
- astunparse >=1.6.3
- packaging >=20.0
- psutil >=5.7.0
- cudatoolkit >=11.1, <11.2
about:
home: https://www.mindspore.cn/
license: Apache 2.0
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

View File

@ -0,0 +1,15 @@
#!/bin/bash
# install MindSpore-GPU using pip
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
fi

View File

@ -0,0 +1,32 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
build:
number: 0
string: py39_cuda10.1
requirements:
build:
- python>=3.9, <3.10
- pip
run:
- python>=3.9, <3.10
- numpy >=1.17.0
- protobuf >=3.13.0
- asttokens >=1.1.13
- pillow >=6.2.0
- scipy >=1.5.2
- cffi >=1.12.3
- wheel >=0.32.0
- decorator >=4.4.0
- setuptools >=40.8.0
- astunparse >=1.6.3
- packaging >=20.0
- psutil >=5.7.0
- cudatoolkit >=10.1, <10.2
about:
home: https://www.mindspore.cn/
license: Apache 2.0
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

View File

@ -0,0 +1,15 @@
#!/bin/bash
# install MindSpore-GPU using pip
if [ "$(uname)" == Linux ]; then
if [ "$PY_VER" == "3.7" ]; then
echo "building conda package for python3.7"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [ "$PY_VER" == "3.9" ]; then
echo "building conda package for python3.9"
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
else
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
exit 1
fi
fi

View File

@ -0,0 +1,32 @@
package:
name: mindspore-gpu
version: "1.5.0rc1"
build:
number: 0
string: py39_cuda11.1
requirements:
build:
- python>=3.9, <3.10
- pip
run:
- python>=3.9, <3.10
- numpy >=1.17.0
- protobuf >=3.13.0
- asttokens >=1.1.13
- pillow >=6.2.0
- scipy >=1.5.2
- cffi >=1.12.3
- wheel >=0.32.0
- decorator >=4.4.0
- setuptools >=40.8.0
- astunparse >=1.6.3
- packaging >=20.0
- psutil >=5.7.0
- cudatoolkit >=11.1, <11.2
about:
home: https://www.mindspore.cn/
license: Apache 2.0
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

View File

@ -1,6 +1,6 @@
FROM ubuntu:18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
@ -71,7 +71,7 @@ RUN mkdir -pv /root/.pip \
&& echo "index-url=http://mirrors.aliyun.com/pypi/simple/" >> /root/.pip/pip.conf
# Install MindSpore cpu whl package
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/cpu/x86_64/mindspore-1.5.0rc1-cp37-cp37m-linux_x86_64.whl
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/cpu/x86_64/mindspore-1.5.0-cp37-cp37m-linux_x86_64.whl
# Install MindInsight cpu whl package
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindInsight/any/mindinsight-1.5.0rc1-py3-none-any.whl
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindInsight/any/mindinsight-1.5.0-py3-none-any.whl

View File

@ -1,6 +1,6 @@
FROM ubuntu:18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5

View File

@ -1,6 +1,6 @@
FROM ubuntu:18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5

View File

@ -1,6 +1,6 @@
FROM ubuntu:18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5

View File

@ -1,6 +1,6 @@
FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
@ -85,6 +85,6 @@ RUN cd /tmp \
&& rm -f /tmp/openmpi-4.0.3.tar.gz
# Install MindSpore cuda-10.1, MindInsight, Serving whl package
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindInsight/any/mindinsight-1.5.0rc1-py3-none-any.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/Serving/x86_64/mindspore_serving-1.5.0rc1-cp37-cp37m-linux_x86_64.whl
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0-cp37-cp37m-linux_x86_64.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindInsight/any/mindinsight-1.5.0-py3-none-any.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/Serving/x86_64/mindspore_serving-1.5.0-cp37-cp37m-linux_x86_64.whl

View File

@ -1,6 +1,6 @@
FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5
@ -85,6 +85,6 @@ RUN cd /tmp \
&& rm -f /tmp/openmpi-4.0.3.tar.gz
# Install MindSpore cuda-11.1, MindInsight, Serving whl package
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindInsight/any/mindinsight-1.5.0rc1-py3-none-any.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/Serving/x86_64/mindspore_serving-1.5.0rc1-cp37-cp37m-linux_x86_64.whl
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0-cp37-cp37m-linux_x86_64.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/MindInsight/any/mindinsight-1.5.0-py3-none-any.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0/Serving/x86_64/mindspore_serving-1.5.0-cp37-cp37m-linux_x86_64.whl

View File

@ -1,6 +1,6 @@
FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5

View File

@ -1,6 +1,6 @@
FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5

View File

@ -1,6 +1,6 @@
FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5

View File

@ -1,6 +1,6 @@
FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04
MAINTAINER leonwanghui <leon.wanghui@huawei.com>
MAINTAINER MindSpore Authors
# Set env
ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5