MCPcopy
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
16def is_master(args, local=False):
17 return is_local_master(args) if local else is_global_master(args)
18
19
20def is_using_distributed():

Callers 4

train_altogetherFunction · 0.90
train_one_epoch_exFunction · 0.90
evaluate_exFunction · 0.90
mainFunction · 0.90

Calls 2

is_local_masterFunction · 0.85
is_global_masterFunction · 0.85

Tested by

no test coverage detected