MCPcopy Index your code
hub / github.com/OpenMeshLab/MeshXL / barrier

Function barrier

utils/dist.py:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def barrier():
31 if not is_distributed():
32 return
33 torch.distributed.barrier()
34
35
36def setup_print_for_distributed(is_primary):

Callers 1

Calls 1

is_distributedFunction · 0.85

Tested by

no test coverage detected