get_distributed_info

dragon.vm.dali.get_distributed_info(allowed=True)[source]

Return the rank and size of current nesting group.

Parameters:
  • allowed (bool, optional, default=True) Whether the distributed utilities are allowed.
Returns:

Tuple[int] The node rank and group size.