Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
52
def
get_nodes():
53
return
int(os.environ[
'GROUP_WORLD_SIZE'
])
54
55
56
def
get_node_rank():
Callers
1
get_device_mesh
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected