Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
def
get_world_size():
25
if
not is_distributed():
26
return
1
27
return
dist.get_world_size()
28
29
30
def
barrier():
Callers
4
all_reduce_average
Function · 0.85
reduce_dict
Function · 0.85
all_gather_pickle
Function · 0.85
all_gather_dict
Function · 0.85
Calls
1
is_distributed
Function · 0.85
Tested by
no test coverage detected