Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebookresearch/MetaCLIP
/ is_master
Function
is_master
src/training/distributed.py:16–17 ·
view source on GitHub ↗
(args, local=False)
Source
from the content-addressed store, hash-verified
14
15
16
def
is_master(args, local=False):
17
return
is_local_master(args)
if
local
else
is_global_master(args)
18
19
20
def
is_using_distributed():
Callers
4
train_altogether
Function · 0.90
train_one_epoch_ex
Function · 0.90
evaluate_ex
Function · 0.90
main
Function · 0.90
Calls
2
is_local_master
Function · 0.85
is_global_master
Function · 0.85
Tested by
no test coverage detected