GroupManager#

class ray.util.collective.collective.GroupManager[source]#

Bases: object

Use this class to manage the collective groups we created so far.

Each process will have an instance of GroupManager. Each process could belong to multiple collective groups. The membership information and other metadata are stored in the global _group_mgr object.

Methods

create_collective_group

The entry to create new collective groups in the manager.

destroy_collective_group

Group destructor.

get_group_by_name

Get the collective group handle by its name.