MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / get_rank

Function get_rank

parallel/utils.py:43–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42
43def get_rank():
44 return int(os.environ['RANK'])
45
46
47def get_world_size():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected