-
Notifications
You must be signed in to change notification settings - Fork 37
Feat: add checkpoint management for tuning #385
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
Conversation
Coverage Report
Files without new missing coverage
274 files skipped due to complete coverage. Coverage success: total of 98.12% is above 98.08% 🎉 |
|
* feat: add checkpoint management for tuning * feat: add checkpoint management for tuning * add checkpoints unit tests * update tutorial * add constant for checkpoint name and remove unused line in two phase



Description
This pull request introduces checkpoint management for the tuning script. After each trial, the study is saved. In the event of a crash, the script checks for an existing study checkpoint file. If found, it resumes the study from the last completed trial.
Changes
tune.py: Added checkpoint management.test_end_to_end.py: Added start from checkpoint unit tests.tests/tuning/test_checkpoints: Included checkpoint files for all cases (single-phase and two-phase) used intest_end_to_end.py.test_tuning.py: Updated unit tests.tuning.md: Updated tutorial.Checklist