MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / tput_log

Method tput_log

deepspeed/runtime/pipe/engine.py:706–708  ·  view source on GitHub ↗
(self, *msg)

Source from the content-addressed store, hash-verified

704 flush=True)
705
706 def tput_log(self, *msg):
707 if self.global_rank == 0 and self.global_steps % self.steps_per_print() == 0:
708 print(*msg)
709
710 def _next_batch(self):
711 # If using 3D parallelism, only some first-stage ranks may do IO

Callers

nothing calls this directly

Calls 1

steps_per_printMethod · 0.80

Tested by

no test coverage detected