Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lingeringlight/START
/ get_world_size
Function
get_world_size
utils.py:195–198 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
193
194
195
def
get_world_size():
196
if
not is_dist_avail_and_initialized():
197
return
1
198
return
dist.get_world_size()
199
200
201
def
get_rank():
Callers
nothing calls this directly
Calls
1
is_dist_avail_and_initialized
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…