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

Function is_distributed

utils/dist.py:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def is_distributed():
9 if not dist.is_available() or not dist.is_initialized():
10 return False
11 return True
12
13
14def get_rank():

Callers 6

get_rankFunction · 0.85
get_world_sizeFunction · 0.85
barrierFunction · 0.85
all_reduce_sumFunction · 0.85
all_gather_dictFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected