367 Star 1.6K Fork 1K

MindSpore/docs

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
startup_method.rst 2.07 KB
Copy Edit Raw Blame History
宦晓玲 authored 2023-11-25 16:17 +08:00 . modify the format of rst files 2.2

分布式并行启动方式

查看源文件
.. toctree::
  :maxdepth: 1
  :hidden:

  dynamic_cluster
  mpirun
  rank_table

启动方式

目前GPU、Ascend和CPU分别支持多种启动方式。主要有动态组网、mpirunrank table三种方式:

  • 动态组网:此方式不依赖第三方库,具有容灾恢复功能,安全性好,支持三种硬件平台,建议用户优先使用此种启动方式。
  • mpirun:此方式依赖开源库OpenMPI,启动命令简单,多机需要保证两两之间免密登录,推荐有OpenMPI使用经验的用户使用此种启动方式。
  • rank table:此方式需要在Ascend硬件平台使用,不依赖第三方库。手动配置rank_table文件后,就可以通过脚本启动并行程序,多机脚本一致,方便批量部署。

三种启动方式的硬件支持情况如下表:

  GPU Ascend CPU
动态组网 支持 支持 支持
mpirun 支持 支持 不支持
rank table 不支持 支持 不支持
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/docs.git
git@gitee.com:mindspore/docs.git
mindspore
docs
docs
r2.2

Search