From e9605ffefb29cf059cb47592f297d068ee2d5373 Mon Sep 17 00:00:00 2001 From: yanghaoran Date: Wed, 13 Oct 2021 10:26:36 +0800 Subject: [PATCH] add docker & conda scripts for 1.5.0 --- scripts/conda/mindspore-ascend/1.5.0/build.sh | 8 ++-- .../conda/mindspore-ascend/1.5.0/meta.yaml | 2 +- .../conda/mindspore-ascend/1.5.0rc1/build.sh | 33 +++++++++++++++ .../conda/mindspore-ascend/1.5.0rc1/meta.yaml | 40 ++++++++++++++++++ scripts/conda/mindspore-cpu/1.5.0/bld.bat | 4 +- scripts/conda/mindspore-cpu/1.5.0/build.sh | 8 ++-- scripts/conda/mindspore-cpu/1.5.0/meta.yaml | 2 +- scripts/conda/mindspore-cpu/1.5.0rc1/bld.bat | 13 ++++++ scripts/conda/mindspore-cpu/1.5.0rc1/build.sh | 42 +++++++++++++++++++ .../conda/mindspore-cpu/1.5.0rc1/meta.yaml | 30 +++++++++++++ .../1.5.0/py37/cuda10.1/build.sh | 4 +- .../1.5.0/py37/cuda10.1/meta.yaml | 2 +- .../1.5.0/py37/cuda11.1/build.sh | 4 +- .../1.5.0/py37/cuda11.1/meta.yaml | 2 +- .../1.5.0/py39/cuda10.1/build.sh | 4 +- .../1.5.0/py39/cuda10.1/meta.yaml | 2 +- .../1.5.0/py39/cuda11.1/build.sh | 4 +- .../1.5.0/py39/cuda11.1/meta.yaml | 2 +- .../1.5.0rc1/py37/cuda10.1/build.sh | 15 +++++++ .../1.5.0rc1/py37/cuda10.1/meta.yaml | 32 ++++++++++++++ .../1.5.0rc1/py37/cuda11.1/build.sh | 15 +++++++ .../1.5.0rc1/py37/cuda11.1/meta.yaml | 32 ++++++++++++++ .../1.5.0rc1/py39/cuda10.1/build.sh | 15 +++++++ .../1.5.0rc1/py39/cuda10.1/meta.yaml | 32 ++++++++++++++ .../1.5.0rc1/py39/cuda11.1/build.sh | 15 +++++++ .../1.5.0rc1/py39/cuda11.1/meta.yaml | 32 ++++++++++++++ scripts/docker/mindspore-cpu/1.5.0/Dockerfile | 6 +-- .../docker/mindspore-cpu/1.5.0rc1/Dockerfile | 2 +- scripts/docker/mindspore-cpu/devel/Dockerfile | 2 +- .../docker/mindspore-cpu/runtime/Dockerfile | 2 +- .../mindspore-gpu/1.5.0/cuda10.1/Dockerfile | 8 ++-- .../mindspore-gpu/1.5.0/cuda11.1/Dockerfile | 8 ++-- .../1.5.0rc1/cuda10.1/Dockerfile | 2 +- .../1.5.0rc1/cuda11.1/Dockerfile | 2 +- scripts/docker/mindspore-gpu/devel/Dockerfile | 2 +- .../docker/mindspore-gpu/runtime/Dockerfile | 2 +- 36 files changed, 388 insertions(+), 42 deletions(-) create mode 100644 scripts/conda/mindspore-ascend/1.5.0rc1/build.sh create mode 100644 scripts/conda/mindspore-ascend/1.5.0rc1/meta.yaml create mode 100644 scripts/conda/mindspore-cpu/1.5.0rc1/bld.bat create mode 100644 scripts/conda/mindspore-cpu/1.5.0rc1/build.sh create mode 100644 scripts/conda/mindspore-cpu/1.5.0rc1/meta.yaml create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/build.sh create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/meta.yaml create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/build.sh create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/meta.yaml create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/build.sh create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/meta.yaml create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/build.sh create mode 100644 scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/meta.yaml diff --git a/scripts/conda/mindspore-ascend/1.5.0/build.sh b/scripts/conda/mindspore-ascend/1.5.0/build.sh index d91f7dd605..b6fbb44c41 100644 --- a/scripts/conda/mindspore-ascend/1.5.0/build.sh +++ b/scripts/conda/mindspore-ascend/1.5.0/build.sh @@ -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 diff --git a/scripts/conda/mindspore-ascend/1.5.0/meta.yaml b/scripts/conda/mindspore-ascend/1.5.0/meta.yaml index e9a495eaa7..b521048e31 100644 --- a/scripts/conda/mindspore-ascend/1.5.0/meta.yaml +++ b/scripts/conda/mindspore-ascend/1.5.0/meta.yaml @@ -1,6 +1,6 @@ package: name: mindspore-ascend - version: "1.5.0rc1" + version: "1.5.0" build: number: 0 diff --git a/scripts/conda/mindspore-ascend/1.5.0rc1/build.sh b/scripts/conda/mindspore-ascend/1.5.0rc1/build.sh new file mode 100644 index 0000000000..d91f7dd605 --- /dev/null +++ b/scripts/conda/mindspore-ascend/1.5.0rc1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-ascend/1.5.0rc1/meta.yaml b/scripts/conda/mindspore-ascend/1.5.0rc1/meta.yaml new file mode 100644 index 0000000000..e9a495eaa7 --- /dev/null +++ b/scripts/conda/mindspore-ascend/1.5.0rc1/meta.yaml @@ -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. diff --git a/scripts/conda/mindspore-cpu/1.5.0/bld.bat b/scripts/conda/mindspore-cpu/1.5.0/bld.bat index 80866b335d..3b1cd3ba29 100644 --- a/scripts/conda/mindspore-cpu/1.5.0/bld.bat +++ b/scripts/conda/mindspore-cpu/1.5.0/bld.bat @@ -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 diff --git a/scripts/conda/mindspore-cpu/1.5.0/build.sh b/scripts/conda/mindspore-cpu/1.5.0/build.sh index 4f87d580de..fc075a4d19 100644 --- a/scripts/conda/mindspore-cpu/1.5.0/build.sh +++ b/scripts/conda/mindspore-cpu/1.5.0/build.sh @@ -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 diff --git a/scripts/conda/mindspore-cpu/1.5.0/meta.yaml b/scripts/conda/mindspore-cpu/1.5.0/meta.yaml index ef8270105d..47aadd49ee 100644 --- a/scripts/conda/mindspore-cpu/1.5.0/meta.yaml +++ b/scripts/conda/mindspore-cpu/1.5.0/meta.yaml @@ -1,6 +1,6 @@ package: name: mindspore-cpu - version: "1.5.0rc1" + version: "1.5.0" build: number: 0 diff --git a/scripts/conda/mindspore-cpu/1.5.0rc1/bld.bat b/scripts/conda/mindspore-cpu/1.5.0rc1/bld.bat new file mode 100644 index 0000000000..80866b335d --- /dev/null +++ b/scripts/conda/mindspore-cpu/1.5.0rc1/bld.bat @@ -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 +) diff --git a/scripts/conda/mindspore-cpu/1.5.0rc1/build.sh b/scripts/conda/mindspore-cpu/1.5.0rc1/build.sh new file mode 100644 index 0000000000..4f87d580de --- /dev/null +++ b/scripts/conda/mindspore-cpu/1.5.0rc1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-cpu/1.5.0rc1/meta.yaml b/scripts/conda/mindspore-cpu/1.5.0rc1/meta.yaml new file mode 100644 index 0000000000..ef8270105d --- /dev/null +++ b/scripts/conda/mindspore-cpu/1.5.0rc1/meta.yaml @@ -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. diff --git a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/build.sh index d61385c281..18002e7a03 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/build.sh +++ b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/meta.yaml index 0800382f14..da7dab16e9 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/meta.yaml +++ b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda10.1/meta.yaml @@ -1,6 +1,6 @@ package: name: mindspore-gpu - version: "1.5.0rc1" + version: "1.5.0" build: number: 0 diff --git a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/build.sh index d4aa7db18d..ac0e3c2dac 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/build.sh +++ b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/meta.yaml index 19403ce148..0f5d7a8307 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/meta.yaml +++ b/scripts/conda/mindspore-gpu/1.5.0/py37/cuda11.1/meta.yaml @@ -1,6 +1,6 @@ package: name: mindspore-gpu - version: "1.5.0rc1" + version: "1.5.0" build: number: 0 diff --git a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/build.sh index d61385c281..18002e7a03 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/build.sh +++ b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/meta.yaml index a35e047fe2..7664b34aab 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/meta.yaml +++ b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda10.1/meta.yaml @@ -1,6 +1,6 @@ package: name: mindspore-gpu - version: "1.5.0rc1" + version: "1.5.0" build: number: 0 diff --git a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/build.sh index d4aa7db18d..ac0e3c2dac 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/build.sh +++ b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/meta.yaml index f0095aab3c..4544a4d599 100644 --- a/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/meta.yaml +++ b/scripts/conda/mindspore-gpu/1.5.0/py39/cuda11.1/meta.yaml @@ -1,6 +1,6 @@ package: name: mindspore-gpu - version: "1.5.0rc1" + version: "1.5.0" build: number: 0 diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/build.sh new file mode 100644 index 0000000000..d61385c281 --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/meta.yaml new file mode 100644 index 0000000000..0800382f14 --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda10.1/meta.yaml @@ -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. diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/build.sh new file mode 100644 index 0000000000..d4aa7db18d --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/meta.yaml new file mode 100644 index 0000000000..19403ce148 --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py37/cuda11.1/meta.yaml @@ -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. diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/build.sh new file mode 100644 index 0000000000..d61385c281 --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/meta.yaml new file mode 100644 index 0000000000..a35e047fe2 --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda10.1/meta.yaml @@ -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. diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/build.sh b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/build.sh new file mode 100644 index 0000000000..d4aa7db18d --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/build.sh @@ -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 diff --git a/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/meta.yaml b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/meta.yaml new file mode 100644 index 0000000000..f0095aab3c --- /dev/null +++ b/scripts/conda/mindspore-gpu/1.5.0rc1/py39/cuda11.1/meta.yaml @@ -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. diff --git a/scripts/docker/mindspore-cpu/1.5.0/Dockerfile b/scripts/docker/mindspore-cpu/1.5.0/Dockerfile index 20fa2fb835..1a594ca47f 100644 --- a/scripts/docker/mindspore-cpu/1.5.0/Dockerfile +++ b/scripts/docker/mindspore-cpu/1.5.0/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:18.04 -MAINTAINER leonwanghui +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 diff --git a/scripts/docker/mindspore-cpu/1.5.0rc1/Dockerfile b/scripts/docker/mindspore-cpu/1.5.0rc1/Dockerfile index 20fa2fb835..237e5c52f4 100644 --- a/scripts/docker/mindspore-cpu/1.5.0rc1/Dockerfile +++ b/scripts/docker/mindspore-cpu/1.5.0rc1/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:18.04 -MAINTAINER leonwanghui +MAINTAINER MindSpore Authors # Set env ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 diff --git a/scripts/docker/mindspore-cpu/devel/Dockerfile b/scripts/docker/mindspore-cpu/devel/Dockerfile index 18bc70df20..0027fe9630 100644 --- a/scripts/docker/mindspore-cpu/devel/Dockerfile +++ b/scripts/docker/mindspore-cpu/devel/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:18.04 -MAINTAINER leonwanghui +MAINTAINER MindSpore Authors # Set env ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 diff --git a/scripts/docker/mindspore-cpu/runtime/Dockerfile b/scripts/docker/mindspore-cpu/runtime/Dockerfile index ad61f9b3be..8505c39a97 100644 --- a/scripts/docker/mindspore-cpu/runtime/Dockerfile +++ b/scripts/docker/mindspore-cpu/runtime/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:18.04 -MAINTAINER leonwanghui +MAINTAINER MindSpore Authors # Set env ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 diff --git a/scripts/docker/mindspore-gpu/1.5.0/cuda10.1/Dockerfile b/scripts/docker/mindspore-gpu/1.5.0/cuda10.1/Dockerfile index 09993ccf68..d8fd31cbf1 100644 --- a/scripts/docker/mindspore-gpu/1.5.0/cuda10.1/Dockerfile +++ b/scripts/docker/mindspore-gpu/1.5.0/cuda10.1/Dockerfile @@ -1,6 +1,6 @@ FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 -MAINTAINER leonwanghui +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 diff --git a/scripts/docker/mindspore-gpu/1.5.0/cuda11.1/Dockerfile b/scripts/docker/mindspore-gpu/1.5.0/cuda11.1/Dockerfile index c4e3c5065d..6866143cd6 100644 --- a/scripts/docker/mindspore-gpu/1.5.0/cuda11.1/Dockerfile +++ b/scripts/docker/mindspore-gpu/1.5.0/cuda11.1/Dockerfile @@ -1,6 +1,6 @@ FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04 -MAINTAINER leonwanghui +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 diff --git a/scripts/docker/mindspore-gpu/1.5.0rc1/cuda10.1/Dockerfile b/scripts/docker/mindspore-gpu/1.5.0rc1/cuda10.1/Dockerfile index 09993ccf68..c4ca6e8805 100644 --- a/scripts/docker/mindspore-gpu/1.5.0rc1/cuda10.1/Dockerfile +++ b/scripts/docker/mindspore-gpu/1.5.0rc1/cuda10.1/Dockerfile @@ -1,6 +1,6 @@ FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 -MAINTAINER leonwanghui +MAINTAINER MindSpore Authors # Set env ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 diff --git a/scripts/docker/mindspore-gpu/1.5.0rc1/cuda11.1/Dockerfile b/scripts/docker/mindspore-gpu/1.5.0rc1/cuda11.1/Dockerfile index c4e3c5065d..68e34a8c99 100644 --- a/scripts/docker/mindspore-gpu/1.5.0rc1/cuda11.1/Dockerfile +++ b/scripts/docker/mindspore-gpu/1.5.0rc1/cuda11.1/Dockerfile @@ -1,6 +1,6 @@ FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04 -MAINTAINER leonwanghui +MAINTAINER MindSpore Authors # Set env ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 diff --git a/scripts/docker/mindspore-gpu/devel/Dockerfile b/scripts/docker/mindspore-gpu/devel/Dockerfile index 9983f3ad8a..73dfdc9e65 100644 --- a/scripts/docker/mindspore-gpu/devel/Dockerfile +++ b/scripts/docker/mindspore-gpu/devel/Dockerfile @@ -1,6 +1,6 @@ FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04 -MAINTAINER leonwanghui +MAINTAINER MindSpore Authors # Set env ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 diff --git a/scripts/docker/mindspore-gpu/runtime/Dockerfile b/scripts/docker/mindspore-gpu/runtime/Dockerfile index 5a2ed3cdbe..6b80a8ce53 100644 --- a/scripts/docker/mindspore-gpu/runtime/Dockerfile +++ b/scripts/docker/mindspore-gpu/runtime/Dockerfile @@ -1,6 +1,6 @@ FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04 -MAINTAINER leonwanghui +MAINTAINER MindSpore Authors # Set env ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5