MCPcopy Create free account
hub / github.com/CompVis/zigma / is_main_process

Function is_main_process

wandb_utils.py:20–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def is_main_process():
21 return dist.get_rank() == 0
22
23
24def namespace_to_dict(namespace):

Callers 2

logFunction · 0.85
log_imageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected