Skip to content
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

feat: save checkpoint before deleting old ones #1453

Merged
merged 4 commits into from
Apr 16, 2020

Conversation

Ir1d
Copy link
Contributor

@Ir1d Ir1d commented Apr 11, 2020

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
  • If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?

Fixes #1150 (issue).

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@mergify mergify bot requested a review from a team April 11, 2020 09:50
@codecov
Copy link

codecov bot commented Apr 11, 2020

Codecov Report

Merging #1453 into master will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #1453   +/-   ##
======================================
  Coverage      91%     91%           
======================================
  Files          67      67           
  Lines        3780    3784    +4     
======================================
+ Hits         3435    3439    +4     
  Misses        345     345           

@mergify mergify bot requested a review from a team April 11, 2020 10:10
@Borda Borda force-pushed the save_before_del branch from 66df689 to d10e9e4 Compare April 13, 2020 23:18
Copy link
Member

@Borda Borda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@Borda Borda added bug Something isn't working ready PRs ready to be merged labels Apr 13, 2020
@Borda Borda added this to the 0.7.4 milestone Apr 13, 2020
@mergify mergify bot requested a review from a team April 13, 2020 23:20
@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2020

This pull request is now in conflict... :(

@mergify mergify bot merged commit 9b31272 into Lightning-AI:master Apr 16, 2020
@mergify
Copy link
Contributor

mergify bot commented Apr 16, 2020

Great job! =)

@Ir1d
Copy link
Contributor Author

Ir1d commented Apr 16, 2020

any idea why the bot is sending 3 emails?

@Lightning-AI Lightning-AI deleted a comment from mergify bot Apr 16, 2020
@Lightning-AI Lightning-AI deleted a comment from mergify bot Apr 16, 2020
tullie pushed a commit to tullie/pytorch-lightning that referenced this pull request Jun 7, 2020
* feat: save checkpoint before deleting old ones

* fix: make sure that the new model is not deleted

* changelog

Co-authored-by: J. Borovec <[email protected]>
Co-authored-by: William Falcon <[email protected]>
@Borda Borda modified the milestones: 0.7.4, v0.7.x Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Propose to save new model before deleting previous ones in ModelCheckpointing
4 participants