MindSpore Nightly是包含当前最新功能与bugfix的预览版本,但是可能未经完整的测试与验证,希望体验最新功能或者问题修复的用户可以使用该版本。
本文档介绍如何在macOS系统上使用pip方式快速安装MindSpore Nightly。
关于本机
获悉:
芯片 | 计算架构 | macOS版本 | 支持Python版本 |
---|---|---|---|
M1 | ARM | 11.3 | Python 3.8.-3.9 |
Intel | x86_64 | 10.15/11.3 | Python 3.7-3.9 |
注意:Python 3.8.10 或通过Conda安装的Python 3.8.5版本是支持M1芯片(ARM架构)macOS的最低Python版本
执行如下命令安装MindSpore:
pip install mindspore-dev -i https://pypi.tuna.tsinghua.edu.cn/simple
其中:
python -c "import mindspore;mindspore.run_check()"
如果输出:
MindSpore version: 版本号
The result of multiplication calculation is correct, MindSpore has been installed successfully!
说明MindSpore安装成功了。
当需要升级MindSpore版本时,可执行如下命令:
pip install --upgrade mindspore-dev=={version}
其中:
{version}
为rc版本号,例如1.5.0rc1;如果升级到正式版本,=={version}
字段可以缺省。Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》