Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ get_lr
Method
get_lr
deepspeed/runtime/engine.py:3246–3247 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3244
return
getattr(self.optimizer,
"cur_scale"
, None)
3245
3246
def
get_lr(self):
3247
return
self._get_optimizer_param(
"lr"
)
3248
3249
def
get_type(self):
3250
return
self._get_optimizer_param(
"type"
)
Callers
2
step
Method · 0.95
_report_progress
Method · 0.95
Calls
1
_get_optimizer_param
Method · 0.95
Tested by
no test coverage detected