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

Function get_world_size

utils/dist.py:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def get_world_size():
25 if not is_distributed():
26 return 1
27 return dist.get_world_size()
28
29
30def barrier():

Callers 4

all_reduce_averageFunction · 0.85
reduce_dictFunction · 0.85
all_gather_pickleFunction · 0.85
all_gather_dictFunction · 0.85

Calls 1

is_distributedFunction · 0.85

Tested by

no test coverage detected