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

⁉️⭕ Raise error when encountering a checkpoint_name in the HPO configuration #1324

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

mberr
Copy link
Member

@mberr mberr commented Sep 23, 2023

When providing a checkpoint_name only the second trial will fail, since it finds an existing checkpoint and tries to continue training, but the model configuration has likely changed.

This PR checks the configuration and directly raises an error with a descriptive error message.

cf. #1300

@mberr mberr marked this pull request as ready for review September 23, 2023 19:10
@mberr mberr changed the title Raise error when encountering a checkpoint_name in the HPO configuration ⁉️⭕ Raise error when encountering a checkpoint_name in the HPO configuration Sep 23, 2023
@mberr mberr enabled auto-merge (squash) September 23, 2023 19:16
@mberr mberr merged commit 1353466 into master Sep 23, 2023
17 checks passed
@mberr mberr deleted the fix-checkpoint-in-hpo branch September 23, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants