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

Make saving 'last' checkpoint as symbolic link opt-in #19191

Merged
merged 4 commits into from
Dec 21, 2023

Conversation

awaelchli
Copy link
Contributor

@awaelchli awaelchli commented Dec 20, 2023

What does this PR do?

Several complaints from users have made it clear that the feature to save the 'last.ckpt' file as symbolic link is not wanted. In this PR, I'm reverting the decision to make a symbolic link by default, and make the feature opt-in instead.

This is a breaking change, tell me more about it :))

Fixes #19189
Fixes #19189
Fixes #19107

This partially reverts #18748


📚 Documentation preview 📚: https://pytorch-lightning--19191.org.readthedocs.build/en/19191/

cc @Borda @justusschock @carmocca @awaelchli

@github-actions github-actions bot added the pl Generic label for PyTorch Lightning package label Dec 20, 2023
@awaelchli awaelchli added feature Is an improvement or enhancement callback: model checkpoint breaking change Includes a breaking change labels Dec 20, 2023
@awaelchli awaelchli added this to the 2.2 milestone Dec 20, 2023
@awaelchli awaelchli marked this pull request as ready for review December 20, 2023 22:51
@awaelchli awaelchli added the fun Staff contributions outside working hours - to differentiate from the "community" label label Dec 21, 2023
@mergify mergify bot added the ready PRs ready to be merged label Dec 21, 2023
@awaelchli awaelchli merged commit 59d2600 into master Dec 21, 2023
73 checks passed
@awaelchli awaelchli deleted the feature/save-last-link-opt-in branch December 21, 2023 16:38
@Borda
Copy link
Member

Borda commented Dec 21, 2023

ok, seems this is the victim of the broken master, with frozen requirements it passes but not with all the latest...

UPDATE: seemed that the last check was missing PL test stunning https://github.com/Lightning-AI/pytorch-lightning/actions/runs/7281654535 but how Probot let it go? @carmocca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Includes a breaking change callback: model checkpoint feature Is an improvement or enhancement fun Staff contributions outside working hours - to differentiate from the "community" label pl Generic label for PyTorch Lightning package ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

last.ckpt is a soft link of best.ckpt SAVE_LAST
3 participants