-
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 LightningCLI(auto_registry)
#12108
Conversation
I'd like to get this merged as is and then switch the default to |
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 ! And let's make this True by default.
LightningCLI(register_automatically)
LightningCLI(auto_registry)
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.
LGTM 😃
What does this PR do?
Adds a flag that will automatically register all subclasses in memory for the registerable components.
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting
PR review
cc @Borda @carmocca @mauvilsa @tchaton