-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LightningModule.lr_scheduler_step
#10249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which function name do you think is better?
- 🚀
scheduler_step()
or - 🎉
lr_scheduler_step()
We have LightningModule.lr_schedulers()
, so I'm in favour of lr_scheduler_step()
to be consistent.
sure :) |
LightningModule.scheduler_step
LightningModule.lr_scheduler_step
Where is the issue/RFC describing this feature and what it aims to solve? The PR has 0 summary for what this PR does. This makes it very difficult for anyone in the community to review. This is touching the core LightningModule! There needs to be much more information about this before changes are just merged |
It's still draft. Attached the issue link in the description. |
439e98c
to
d5f48b5
Compare
4445ee7
to
d2488d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've simplified two of the tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Epic!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
What does this PR do?
Fixes #10190
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃
cc @Borda @carmocca @justusschock @awaelchli @ananthsub @ninginthecloud @jjenniferdai @rohitgr7