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

Method _report_progress

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

Source from the content-addressed store, hash-verified

3471 return None
3472
3473 def _report_progress(self, step):
3474 lr = self.get_lr()
3475 mom = self.get_mom()
3476 log_dist(f"step={step}, skipped={self.skipped_steps}, lr={lr}, mom={mom}", ranks=[0])
3477
3478 def allreduce_bucket(self, bucket, dp_group, dp_world_size=None):
3479 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