Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/microsoft/Cream
/ is_main_process
Function
is_main_process
TinyViT/utils.py:330–331 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
328
329
330
def
is_main_process():
331
return
dist.get_rank() == 0
332
333
334
def
run_cmd(cmd, default=None):
Callers
4
main
Function · 0.90
train_one_epoch
Function · 0.90
train_one_epoch_distill_using_saved_logits
Function · 0.90
main.py
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected