moolib.Group

class moolib.Group

A group of Rpc objects.

This class groups a number of Rpc objects under one unique namespace (the group name), to allow for coordinated AllReduce actions.

__init__()

Init.

Parameters
  • rpc (Rpc) – an Rpc object.

  • name (str) – the name of the group.

Methods

__init__

Init.

active

all_reduce

members

name

set_broker_name

set_sort_order

set_timeout

sync_id

update

Update the state of the Group.

update()

Update the state of the Group.