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

Method get_lr

deepspeed/runtime/engine.py:3455–3456  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3453 return getattr(self.optimizer, "cur_scale", None)
3454
3455 def get_lr(self):
3456 return self._get_optimizer_param("lr")
3457
3458 def get_type(self):
3459 return self._get_optimizer_param("type")

Callers 2

stepMethod · 0.95
_report_progressMethod · 0.95

Calls 1

_get_optimizer_paramMethod · 0.95

Tested by

no test coverage detected