MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / _report_progress

Method _report_progress

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

Source from the content-addressed store, hash-verified

2217 return None
2218
2219 def _report_progress(self, step):
2220 lr = self.get_lr()
2221 mom = self.get_mom()
2222 log_dist(f"step={step}, skipped={self.skipped_steps}, lr={lr}, mom={mom}", ranks=[0])
2223
2224 def allreduce_bucket(self, bucket, dp_group):
2225 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