Skip to content

implement missing get_last_lr - #595

Merged
jeffra merged 9 commits into
deepspeedai:masterfrom
stas00:last_lr
Dec 14, 2020
Merged

jeffra merged 9 commits into
deepspeedai:masterfrom
stas00:last_lr

Conversation

@stas00

@stas00 stas00 commented Dec 11, 2020

Copy link
Copy Markdown
Collaborator

This PR fixes:

AttributeError: 'WarmupLR' object has no attribute 'get_last_lr'

by adding get_last_lr as it is implemented in pytorch
I think it was added around pytorch-1.4.

I added get_last_lr to the rest of lr classes in that file, not sure if there are others.

@stas00

stas00 commented Dec 11, 2020

Copy link
Copy Markdown
Collaborator Author

It looks like your CI is stuck - not doing the build since 12 hours...

@jeffra

jeffra commented Dec 11, 2020

Copy link
Copy Markdown
Collaborator

It looks like your CI is stuck - not doing the build since 12 hours...

Super strange, not sure what the issue was. Our CI nodes were idle but the job didn't submit to our queue for some reason. After updating your branch with master it seems to have forced it to kick off though.

Comment thread deepspeed/runtime/lr_schedules.py Resolved
Comment thread deepspeed/runtime/lr_schedules.py Resolved
Comment thread deepspeed/runtime/lr_schedules.py Resolved
Comment thread deepspeed/runtime/lr_schedules.py Resolved
@jeffra
jeffra merged commit 9f8e8f3 into deepspeedai:master Dec 14, 2020
@stas00
stas00 deleted the last_lr branch December 14, 2020 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants