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

Method _report_progress

deepspeed/runtime/engine.py:3598–3601  ·  view source on GitHub ↗
(self, step)

Source from the content-addressed store, hash-verified

3596 return None
3597
3598 def _report_progress(self, step):
3599 lr = self.get_lr()
3600 mom = self.get_mom()
3601 log_dist(f"step={step}, skipped={self.skipped_steps}, lr={lr}, mom={mom}", ranks=[0])
3602
3603 def allreduce_bucket(self, bucket, dp_group, dp_world_size=None):
3604 tensor = self.flatten(bucket)

Callers 2

__init__Method · 0.95
_take_model_stepMethod · 0.95

Calls 3

get_lrMethod · 0.95
get_momMethod · 0.95
log_distFunction · 0.90

Tested by

no test coverage detected