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 ModelCheckpoint._format_checkpoint_name an instance method #19054

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

awaelchli
Copy link
Contributor

@awaelchli awaelchli commented Nov 22, 2023

What does this PR do?

Fixes #18956

It is now possible to set CHECKPOINT_JOIN_CHAR and CHECKPOINT_EQUALS_CHAR via the instance, which is more intuitive. Setting it via the class is still possible.


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

cc @Borda @carmocca @awaelchli

@github-actions github-actions bot added the pl Generic label for PyTorch Lightning package label Nov 22, 2023
@awaelchli awaelchli marked this pull request as ready for review November 22, 2023 22:05
@awaelchli awaelchli added bug Something isn't working callback: model checkpoint labels Nov 22, 2023
@awaelchli awaelchli added this to the 2.1.x milestone Nov 22, 2023
@awaelchli awaelchli added the fun Staff contributions outside working hours - to differentiate from the "community" label label Nov 22, 2023
@mergify mergify bot added the ready PRs ready to be merged label Nov 22, 2023
@awaelchli awaelchli merged commit 9a26da8 into master Nov 23, 2023
63 of 98 checks passed
@awaelchli awaelchli deleted the bugfix/checkpoint-format-name branch November 23, 2023 00:05
Borda pushed a commit that referenced this pull request Dec 19, 2023
lantiga pushed a commit that referenced this pull request Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working callback: model checkpoint 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.

ModelCheckpoint filename delimiters not working as expected
3 participants