Fix description error in api create_group

This commit is contained in:
liuluobin 2022-09-26 10:49:20 +08:00
parent d9f25439aa
commit 544587c69f
3 changed files with 3 additions and 2 deletions

View File

@ -160,6 +160,7 @@
"mindspore/tests/st/fallback/control_flow/test_fallback_100_if_after_if.py" "unused-variable" "mindspore/tests/st/fallback/control_flow/test_fallback_100_if_after_if.py" "unused-variable"
"mindspore/tests/st/numpy_native/test_array_ops.py" "useless-super-delegation" "mindspore/tests/st/numpy_native/test_array_ops.py" "useless-super-delegation"
"mindspore/tests/ut/python/mindir/test_mindir_export.py" "no-else-return" "mindspore/tests/ut/python/mindir/test_mindir_export.py" "no-else-return"
"mindspore/tests/" "c-extension-no-member"
#MindSpore Lite #MindSpore Lite
"mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/experimental/HPC-generator/generator.py" "redefined-builtin" "mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/experimental/HPC-generator/generator.py" "redefined-builtin"

View File

@ -135,7 +135,7 @@ mindspore.communication
- 列表rank_ids的长度应大于1。 - 列表rank_ids的长度应大于1。
- 列表rank_ids内不能有重复数据。 - 列表rank_ids内不能有重复数据。
- `create_group` 方法应该在 `init` 方法之后使用。 - `create_group` 方法应该在 `init` 方法之后使用。
- PyNative模式下仅支持全局单通信组。 - 如果没有使用mpirun启动PyNative模式下仅支持全局单通信组。
- 在运行以下示例之前用户需要预设通信环境变量请查看mindspore.communication的文档注释。 - 在运行以下示例之前用户需要预设通信环境变量请查看mindspore.communication的文档注释。
参数: 参数:

View File

@ -437,7 +437,7 @@ def create_group(group, rank_ids):
GPU version of MindSpore doesn't support this method. GPU version of MindSpore doesn't support this method.
The size of rank_ids should be larger than 1, rank_ids should not have duplicate data. The size of rank_ids should be larger than 1, rank_ids should not have duplicate data.
This method should be used after init(). This method should be used after init().
Only support global single communication group in PyNative mode. Only support global single communication group in PyNative mode if you do not start with mpirun.
The user needs to preset communication environment variables before running the following example, please see The user needs to preset communication environment variables before running the following example, please see
the docstring of the mindspore.managerment. the docstring of the mindspore.managerment.