xnn.common.distributed.destroy_process_group#
- xnn.common.distributed.destroy_process_group(owns)[source]#
Tear down the process group if
ownssays this caller created it.The ranks synchronize first, so none of them leaves while another is still finishing its last collective or writing its output: a rank that exits early can leave the others, and the launcher, waiting at shutdown.
- Parameters:
owns (bool)
- Return type:
None