Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/ViMoGen
/ get_local_world_size
Function
get_local_world_size
parallel/utils.py:39–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
38
39
def
get_local_world_size():
40
return
int(os.environ[
'LOCAL_WORLD_SIZE'
])
41
42
43
def
get_rank():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected