Skip to content

Commit 5918011

Browse files
[docs][get_world_size] add warning (#5753)
* [docs][get_world_size] add warning * rm English * Update docs/api/paddle/distributed/get_world_size_cn.rst Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com> --------- Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
1 parent 829e9a8 commit 5918011

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/api/paddle/distributed/get_world_size_cn.rst

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ get_world_size
1515
:::::::::
1616
(int) 返回指定通信组中的进程数,如果当前进程不在该通信组中,则返回-1。
1717

18+
.. warning::
19+
参数 ``group`` 仅在动态图模式下支持
20+
1821
代码示例
1922
:::::::::
2023
COPY-FROM: paddle.distributed.get_world_size

0 commit comments

Comments
 (0)