-
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
Call configure_model
from LightningCLI
#19111
base: master
Are you sure you want to change the base?
Call configure_model
from LightningCLI
#19111
Conversation
Looking at the following, probably the solution needs to be adjusted: pytorch-lightning/src/lightning/pytorch/trainer/call.py Lines 99 to 109 in 520c1e4
The issue is that the above excepts the trainer which is not yet initialised. Now the However, it does get called here directly: pytorch-lightning/src/lightning/pytorch/core/saving.py Lines 161 to 162 in 3cbc14e
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #19111 +/- ##
==========================================
- Coverage 84% 53% -31%
==========================================
Files 424 416 -8
Lines 34700 34548 -152
==========================================
- Hits 29164 18349 -10815
- Misses 5536 16199 +10663 |
@Borda thanks for the ✅ - is there anyone we can tag that can review any maybe merge/resolve the issue? 🙏 |
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
@Borda any update for this? thank you |
What does this PR do?
Fixes #19110
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Reviewer checklist
📚 Documentation preview 📚: https://pytorch-lightning--19111.org.readthedocs.build/en/19111/