megengine.distributed.Group

class Group(proc_ranks)[源代码]

Include ranked nodes running collective communication (See distributed).

By default collectives operate on the default group (also called WORLD) and require all processes to enter the distributed function call.

参数

proc_ranks – rank list of the group, the first one is root rank.

属性

comp_node

is_single_machine

key

rank

size

方法

check(proc_ranks)

reset(proc_ranks)