-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add email callback on train complete #20162
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
base: master
Are you sure you want to change the base?
Add email callback on train complete #20162
Conversation
Codecov ReportAttention: Patch coverage is
❌ Your patch check has failed because the patch coverage (38%) is below the target coverage (50%). You can increase the patch coverage or adjust the target coverage.
Additional details and impacted files@@ Coverage Diff @@
## master #20162 +/- ##
=========================================
- Coverage 89% 81% -8%
=========================================
Files 267 265 -2
Lines 23064 23062 -2
=========================================
- Hits 20573 18626 -1947
- Misses 2491 4436 +1945 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need further help see our docs: https://lightning.ai/docs/pytorch/latest/generated/CONTRIBUTING.html#pull-request or ask the assistance of a core contributor here or on Discord. Thank you for your contributions. |
What does this PR do?
This PR adds a new callback that allows a user to notify a list of emails when the training is done. It currently only supports the Google SMTP and is recommended to use an app password. Adding more providers is trivial. If the feedback is positive, I will go ahead and add the docs update as well as proper tests.
Resolves #20133
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--20162.org.readthedocs.build/en/20162/