Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tdrussell/diffusion-pipe
/ is_main_process
Function
is_main_process
utils/common.py:33–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
32
33
def
is_main_process():
34
return
get_rank() == 0
35
36
37
@contextmanager
Callers
15
print_model_info
Function · 0.90
_evaluate
Function · 0.90
train.py
File · 0.90
need_to_checkpoint
Function · 0.90
save_model
Method · 0.90
process_epoch
Method · 0.90
process_step
Method · 0.90
_make_divisible_by
Method · 0.90
validate
Method · 0.90
cache
Method · 0.90
configure_adapter
Method · 0.90
load_adapter_weights
Method · 0.90
Calls
1
get_rank
Function · 0.85
Tested by
no test coverage detected