Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/AiOS
/ is_main_process
Function
is_main_process
util/misc.py:534–535 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
532
533
534
def
is_main_process():
535
return
get_rank() == 0
536
537
538
def
save_on_master(*args, **kwargs):
Callers
1
save_on_master
Function · 0.70
Calls
1
get_rank
Function · 0.70
Tested by
no test coverage detected