MCPcopy Index your code
hub / github.com/MotrixLab/ViMoGen / get_nodes

Function get_nodes

parallel/utils.py:52–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def get_nodes():
53 return int(os.environ['GROUP_WORLD_SIZE'])
54
55
56def get_node_rank():

Callers 1

get_device_meshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected