-
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
[CLI] Shorthand notation to instantiate optimizers and lr schedulers [2/3] #9565
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.
Love it !
Codecov Report
@@ Coverage Diff @@
## master #9565 +/- ##
======================================
Coverage 93% 93%
======================================
Files 180 180
Lines 15094 15165 +71
======================================
+ Hits 14021 14088 +67
- Misses 1073 1077 +4 |
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.
Not super familiar with the LightningCLI codebase but looks good!
@@ -7,6 +7,6 @@ torchtext>=0.7 | |||
onnx>=1.7.0 | |||
onnxruntime>=1.3.0 | |||
hydra-core>=1.0 | |||
jsonargparse[signatures]>=3.19.0 | |||
jsonargparse[signatures]>=3.19.3 |
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.
why was this change made?
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.
This PR requires a bugfix upstream to work:
The patch was released with 3.19.3
What does this PR do?
Fixes #7576
Implements the feature request in jsonargparse: omni-us/jsonargparse#84
Docs: https://129938-178626720-gh.circle-artifacts.com/0/html/common/lightning_cli.html#optimizers-and-learning-rate-scheduler
See the docs changes for more context.
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting
PR review