Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jackyBaoShi
mindspore
提交
106ece22
M
mindspore
项目概览
jackyBaoShi
/
mindspore
与 Fork 源项目一致
Fork自
MindSpore / mindspore
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindspore
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
106ece22
编写于
8月 02, 2020
作者:
C
changzherui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify version to r0.6 for master
上级
3d7732a7
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
19 deletion
+19
-19
README.md
README.md
+5
-5
build.sh
build.sh
+12
-12
model_zoo/official/README.md
model_zoo/official/README.md
+1
-1
setup.py
setup.py
+1
-1
未找到文件。
README.md
浏览文件 @
106ece22
...
@@ -75,7 +75,7 @@ For installation using `pip`, take `CPU` and `Ubuntu-x86` build version as an ex
...
@@ -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.
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.
2.
Run the following command to verify the install.
...
@@ -132,8 +132,8 @@ currently the containerized build options are supported as follows:
...
@@ -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:
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 pull mindspore/mindspore-cpu:0.
6
.0-beta
docker run -it mindspore/mindspore-cpu:0.
5
.0-beta /bin/bash
docker run -it mindspore/mindspore-cpu:0.
6
.0-beta /bin/bash
```
```
*
GPU
*
GPU
...
@@ -150,8 +150,8 @@ currently the containerized build options are supported as follows:
...
@@ -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:
Then you can pull and run the latest stable image using the below command:
```
```
docker pull mindspore/mindspore-gpu:0.
5
.0-beta
docker pull mindspore/mindspore-gpu:0.
6
.0-beta
docker run -it --runtime=nvidia --privileged=true mindspore/mindspore-gpu:0.
5
.0-beta /bin/bash
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:
To test if the docker image works, please execute the python code below and check the output:
...
...
build.sh
浏览文件 @
106ece22
...
@@ -569,7 +569,7 @@ build_lite()
...
@@ -569,7 +569,7 @@ build_lite()
else
else
mkdir
-pv
${
BASEPATH
}
/mindspore/lite/output/
mkdir
-pv
${
BASEPATH
}
/mindspore/lite/output/
if
[[
"
$LITE_PLATFORM
"
==
"x86_64"
]]
;
then
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
}
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
}
/converter
&&
mkdir
-p
${
OUTPUT_DIR
}
/time_profile
mkdir
-p
${
OUTPUT_DIR
}
/benchmark
&&
mkdir
-p
${
OUTPUT_DIR
}
/include
&&
mkdir
-p
${
OUTPUT_DIR
}
/lib
mkdir
-p
${
OUTPUT_DIR
}
/benchmark
&&
mkdir
-p
${
OUTPUT_DIR
}
/include
&&
mkdir
-p
${
OUTPUT_DIR
}
/lib
...
@@ -589,11 +589,11 @@ build_lite()
...
@@ -589,11 +589,11 @@ build_lite()
mkdir
-p
${
OUTPUT_DIR
}
/third_party/flatbuffers
mkdir
-p
${
OUTPUT_DIR
}
/third_party/flatbuffers
cp
-r
${
BASEPATH
}
/third_party/flatbuffers/include/
${
OUTPUT_DIR
}
/third_party/flatbuffers/
cp
-r
${
BASEPATH
}
/third_party/flatbuffers/include/
${
OUTPUT_DIR
}
/third_party/flatbuffers/
cd
..
cd
..
tar
-czf
MSLite-0.
5.0-linux_x86_64.tar.gz MSLite-0.5
.0-linux_x86_64/
--warning
=
no-file-changed
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.
5.0-linux_x86_64.tar.gz
>
MSLite-0.5
.0-linux_x86_64.tar.gz.sha256
sha256sum
MSLite-0.
6.0-linux_x86_64.tar.gz
>
MSLite-0.6
.0-linux_x86_64.tar.gz.sha256
rm
-rf
MSLite-0.
5
.0-linux_x86_64/
rm
-rf
MSLite-0.
6
.0-linux_x86_64/
elif
[[
"
$LITE_PLATFORM
"
==
"arm64"
]]
;
then
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
}
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
}
/time_profile
&&
mkdir
-p
${
OUTPUT_DIR
}
/benchmark
mkdir
-p
${
OUTPUT_DIR
}
/include
&&
mkdir
-p
${
OUTPUT_DIR
}
/lib
mkdir
-p
${
OUTPUT_DIR
}
/include
&&
mkdir
-p
${
OUTPUT_DIR
}
/lib
...
@@ -608,11 +608,11 @@ build_lite()
...
@@ -608,11 +608,11 @@ build_lite()
mkdir
-p
${
OUTPUT_DIR
}
/third_party/flatbuffers
mkdir
-p
${
OUTPUT_DIR
}
/third_party/flatbuffers
cp
-r
${
BASEPATH
}
/third_party/flatbuffers/include/
${
OUTPUT_DIR
}
/third_party/flatbuffers/
cp
-r
${
BASEPATH
}
/third_party/flatbuffers/include/
${
OUTPUT_DIR
}
/third_party/flatbuffers/
cd
..
cd
..
tar
-czf
MSLite-0.
5.0-linux_arm64.tar.gz MSLite-0.5
.0-linux_arm64/
--warning
=
no-file-changed
tar
-czf
MSLite-0.
6.0-linux_arm64.tar.gz MSLite-0.6
.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
sha256sum
MSLite-0.
6.0-linux_arm64.tar.gz
>
MSLite-0.6
.0-linux_arm64.tar.gz.sha256
rm
-rf
MSLite-0.
5
.0-linux_arm64/
rm
-rf
MSLite-0.
6
.0-linux_arm64/
elif
[[
"
$LITE_PLATFORM
"
==
"arm32"
]]
;
then
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
}
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
}
/time_profile
&&
mkdir
-p
${
OUTPUT_DIR
}
/benchmark
mkdir
-p
${
OUTPUT_DIR
}
/include
&&
mkdir
-p
${
OUTPUT_DIR
}
/lib
mkdir
-p
${
OUTPUT_DIR
}
/include
&&
mkdir
-p
${
OUTPUT_DIR
}
/lib
...
@@ -627,9 +627,9 @@ build_lite()
...
@@ -627,9 +627,9 @@ build_lite()
mkdir
-p
${
OUTPUT_DIR
}
/third_party/flatbuffers
mkdir
-p
${
OUTPUT_DIR
}
/third_party/flatbuffers
cp
-r
${
BASEPATH
}
/third_party/flatbuffers/include/
${
OUTPUT_DIR
}
/third_party/flatbuffers/
cp
-r
${
BASEPATH
}
/third_party/flatbuffers/include/
${
OUTPUT_DIR
}
/third_party/flatbuffers/
cd
..
cd
..
tar
-czf
MSLite-0.
5.0-linux_arm32.tar.gz MSLite-0.5
.0-linux_arm32/
--warning
=
no-file-changed
tar
-czf
MSLite-0.
6.0-linux_arm32.tar.gz MSLite-0.6
.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
sha256sum
MSLite-0.
6.0-linux_arm32.tar.gz
>
MSLite-0.6
.0-linux_arm32.tar.gz.sha256
rm
-rf
MSLite-0.
5
.0-linux_arm32/
rm
-rf
MSLite-0.
6
.0-linux_arm32/
fi
fi
echo
"---------------- mindspore lite: build success ----------------"
echo
"---------------- mindspore lite: build success ----------------"
fi
fi
...
...
model_zoo/official/README.md
浏览文件 @
106ece22
...
@@ -54,7 +54,7 @@ In order to facilitate developers to enjoy the benefits of MindSpore framework,
...
@@ -54,7 +54,7 @@ In order to facilitate developers to enjoy the benefits of MindSpore framework,
# Announcements
# Announcements
| Date | News |
| 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
)
|
...
...
setup.py
浏览文件 @
106ece22
...
@@ -23,7 +23,7 @@ from setuptools import setup, find_packages
...
@@ -23,7 +23,7 @@ from setuptools import setup, find_packages
from
setuptools.command.egg_info
import
egg_info
from
setuptools.command.egg_info
import
egg_info
from
setuptools.command.build_py
import
build_py
from
setuptools.command.build_py
import
build_py
version
=
'0.
5
.0'
version
=
'0.
6
.0'
backend_policy
=
os
.
getenv
(
'BACKEND_POLICY'
)
backend_policy
=
os
.
getenv
(
'BACKEND_POLICY'
)
commit_id
=
os
.
getenv
(
'COMMIT_ID'
).
replace
(
"
\n
"
,
""
)
commit_id
=
os
.
getenv
(
'COMMIT_ID'
).
replace
(
"
\n
"
,
""
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录