MCPcopy Index your code
hub / github.com/Standard-Intelligence/hertz-dev / print0

Function print0

utils/dist.py:38–40  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

36 super().__init__(*args, **kwargs, disable=not rank0(), bar_format='{bar}| {n_fmt}/{total_fmt} [{rate_fmt}{postfix}]')
37
38def print0(*args, **kwargs):
39 if rank0():
40 print(*args, **kwargs)
41
42_PRINTED_IDS = set()
43

Callers 2

init_distFunction · 0.85
load_ckptFunction · 0.85

Calls 1

rank0Function · 0.70

Tested by

no test coverage detected