Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DIVE128/DMVSNet
/ get_world_size
Function
get_world_size
tools.py:268–271 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
266
267
268
def
get_world_size():
269
if
not is_dist_avail_and_initialized():
270
return
1
271
return
dist.get_world_size()
272
273
274
def
get_rank():
Callers
1
reduce_scalar_outputs
Function · 0.85
Calls
1
is_dist_avail_and_initialized
Function · 0.85
Tested by
no test coverage detected