to make all processes in distributed training wait for each local_master to do something. Args: local_rank (`int`): The rank of the local process. )