def get_default_group() -> Optional[ProcessGroup]:
    """Return default process group."""

    return torch_dist.distributed_c10d._get_default_group()
Return default process group.
projects/llava_sam2/evaluation/utils/dist.py