ray.experimental.collective.destroy_collective_group#

ray.experimental.collective.destroy_collective_group(group_or_name: CommunicatorHandle | str)[source]#

Destroy a collective group. If this functions returns successfully, then the actors that were in the collective can be reused to create a new collective group.

Parameters:

group_or_name – Either a communicator handle or the name of the group to destroy.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.