MCPcopy
hub / github.com/lm-sys/FastChat / rank0_print

Function rank0_print

fastchat/train/train.py:76–78  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

74
75
76def rank0_print(*args):
77 if local_rank == 0:
78 print(*args)
79
80
81def trainer_save_model_safe(trainer: transformers.Trainer):

Callers 4

preprocessFunction · 0.70
__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…