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

Function is_primary

utils/dist.py:20–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def is_primary():
21 return get_rank() == 0
22
23
24def get_world_size():

Callers 2

save_checkpointFunction · 0.90
init_distributedFunction · 0.85

Calls 1

get_rankFunction · 0.85

Tested by

no test coverage detected