From 106ece221d08784dfed8af63378a2024cf511419 Mon Sep 17 00:00:00 2001 From: changzherui Date: Sun, 2 Aug 2020 17:28:09 +0800 Subject: [PATCH] modify version to r0.6 for master --- README.md | 10 +++++----- build.sh | 24 ++++++++++++------------ model_zoo/official/README.md | 2 +- setup.py | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index f312343af9..50e21fae70 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ For installation using `pip`, take `CPU` and `Ubuntu-x86` build version as an ex 1. Download whl from [MindSpore download page](https://www.mindspore.cn/versions/en), and install the package. ``` - pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.5.0-beta/MindSpore/cpu/ubuntu_x86/mindspore-0.5.0-cp37-cp37m-linux_x86_64.whl + pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/0.6.0-beta/MindSpore/cpu/ubuntu_x86/mindspore-0.6.0-cp37-cp37m-linux_x86_64.whl ``` 2. Run the following command to verify the install. @@ -132,8 +132,8 @@ currently the containerized build options are supported as follows: For `CPU` backend, you can directly pull and run the latest stable image using the below command: ``` - docker pull mindspore/mindspore-cpu:0.5.0-beta - docker run -it mindspore/mindspore-cpu:0.5.0-beta /bin/bash + docker pull mindspore/mindspore-cpu:0.6.0-beta + docker run -it mindspore/mindspore-cpu:0.6.0-beta /bin/bash ``` * GPU @@ -150,8 +150,8 @@ currently the containerized build options are supported as follows: Then you can pull and run the latest stable image using the below command: ``` - docker pull mindspore/mindspore-gpu:0.5.0-beta - docker run -it --runtime=nvidia --privileged=true mindspore/mindspore-gpu:0.5.0-beta /bin/bash + docker pull mindspore/mindspore-gpu:0.6.0-beta + docker run -it --runtime=nvidia --privileged=true mindspore/mindspore-gpu:0.6.0-beta /bin/bash ``` To test if the docker image works, please execute the python code below and check the output: diff --git a/build.sh b/build.sh index 66148f2cdf..04ff1f1acf 100755 --- a/build.sh +++ b/build.sh @@ -569,7 +569,7 @@ build_lite() else mkdir -pv ${BASEPATH}/mindspore/lite/output/ if [[ "$LITE_PLATFORM" == "x86_64" ]]; then - OUTPUT_DIR=${BASEPATH}/output/MSLite-0.5.0-linux_x86_64 + OUTPUT_DIR=${BASEPATH}/output/MSLite-0.6.0-linux_x86_64 rm -rf ${OUTPUT_DIR} && mkdir -p ${OUTPUT_DIR} && cd ${OUTPUT_DIR} mkdir -p ${OUTPUT_DIR}/converter && mkdir -p ${OUTPUT_DIR}/time_profile mkdir -p ${OUTPUT_DIR}/benchmark && mkdir -p ${OUTPUT_DIR}/include && mkdir -p ${OUTPUT_DIR}/lib @@ -589,11 +589,11 @@ build_lite() mkdir -p ${OUTPUT_DIR}/third_party/flatbuffers cp -r ${BASEPATH}/third_party/flatbuffers/include/ ${OUTPUT_DIR}/third_party/flatbuffers/ cd .. - tar -czf MSLite-0.5.0-linux_x86_64.tar.gz MSLite-0.5.0-linux_x86_64/ --warning=no-file-changed - sha256sum MSLite-0.5.0-linux_x86_64.tar.gz > MSLite-0.5.0-linux_x86_64.tar.gz.sha256 - rm -rf MSLite-0.5.0-linux_x86_64/ + tar -czf MSLite-0.6.0-linux_x86_64.tar.gz MSLite-0.6.0-linux_x86_64/ --warning=no-file-changed + sha256sum MSLite-0.6.0-linux_x86_64.tar.gz > MSLite-0.6.0-linux_x86_64.tar.gz.sha256 + rm -rf MSLite-0.6.0-linux_x86_64/ elif [[ "$LITE_PLATFORM" == "arm64" ]]; then - OUTPUT_DIR=${BASEPATH}/output/MSLite-0.5.0-linux_arm64 + OUTPUT_DIR=${BASEPATH}/output/MSLite-0.6.0-linux_arm64 rm -rf ${OUTPUT_DIR} && mkdir -p ${OUTPUT_DIR} && cd ${OUTPUT_DIR} mkdir -p ${OUTPUT_DIR}/time_profile && mkdir -p ${OUTPUT_DIR}/benchmark mkdir -p ${OUTPUT_DIR}/include && mkdir -p ${OUTPUT_DIR}/lib @@ -608,11 +608,11 @@ build_lite() mkdir -p ${OUTPUT_DIR}/third_party/flatbuffers cp -r ${BASEPATH}/third_party/flatbuffers/include/ ${OUTPUT_DIR}/third_party/flatbuffers/ cd .. - tar -czf MSLite-0.5.0-linux_arm64.tar.gz MSLite-0.5.0-linux_arm64/ --warning=no-file-changed - sha256sum MSLite-0.5.0-linux_arm64.tar.gz > MSLite-0.5.0-linux_arm64.tar.gz.sha256 - rm -rf MSLite-0.5.0-linux_arm64/ + tar -czf MSLite-0.6.0-linux_arm64.tar.gz MSLite-0.6.0-linux_arm64/ --warning=no-file-changed + sha256sum MSLite-0.6.0-linux_arm64.tar.gz > MSLite-0.6.0-linux_arm64.tar.gz.sha256 + rm -rf MSLite-0.6.0-linux_arm64/ elif [[ "$LITE_PLATFORM" == "arm32" ]]; then - OUTPUT_DIR=${BASEPATH}/output/MSLite-0.5.0-linux_arm32 + OUTPUT_DIR=${BASEPATH}/output/MSLite-0.6.0-linux_arm32 rm -rf ${OUTPUT_DIR} && mkdir -p ${OUTPUT_DIR} && cd ${OUTPUT_DIR} mkdir -p ${OUTPUT_DIR}/time_profile && mkdir -p ${OUTPUT_DIR}/benchmark mkdir -p ${OUTPUT_DIR}/include && mkdir -p ${OUTPUT_DIR}/lib @@ -627,9 +627,9 @@ build_lite() mkdir -p ${OUTPUT_DIR}/third_party/flatbuffers cp -r ${BASEPATH}/third_party/flatbuffers/include/ ${OUTPUT_DIR}/third_party/flatbuffers/ cd .. - tar -czf MSLite-0.5.0-linux_arm32.tar.gz MSLite-0.5.0-linux_arm32/ --warning=no-file-changed - sha256sum MSLite-0.5.0-linux_arm32.tar.gz > MSLite-0.5.0-linux_arm32.tar.gz.sha256 - rm -rf MSLite-0.5.0-linux_arm32/ + tar -czf MSLite-0.6.0-linux_arm32.tar.gz MSLite-0.6.0-linux_arm32/ --warning=no-file-changed + sha256sum MSLite-0.6.0-linux_arm32.tar.gz > MSLite-0.6.0-linux_arm32.tar.gz.sha256 + rm -rf MSLite-0.6.0-linux_arm32/ fi echo "---------------- mindspore lite: build success ----------------" fi diff --git a/model_zoo/official/README.md b/model_zoo/official/README.md index df6fd4b138..e921cfe3df 100644 --- a/model_zoo/official/README.md +++ b/model_zoo/official/README.md @@ -54,7 +54,7 @@ In order to facilitate developers to enjoy the benefits of MindSpore framework, # Announcements | Date | News | | ------------ | ------------------------------------------------------------ | -| June 30, 2020 | Support [MindSpore v0.5.0-beta](https://www.mindspore.cn/news/newschildren?id=221) | +| June 30, 2020 | Support [MindSpore v0.6.0-beta](https://www.mindspore.cn/news/newschildren?id=221) | diff --git a/setup.py b/setup.py index bf16c9106b..46a6e04a4e 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ from setuptools import setup, find_packages from setuptools.command.egg_info import egg_info from setuptools.command.build_py import build_py -version = '0.5.0' +version = '0.6.0' backend_policy = os.getenv('BACKEND_POLICY') commit_id = os.getenv('COMMIT_ID').replace("\n", "")