keras-team / keras-tuner

A Hyperparameter Tuning Library for Keras
https://keras.io/keras_tuner/
Apache License 2.0
2.86k stars 396 forks source link

save chief's state before starting oracle server #977

Closed sfo closed 1 year ago

sfo commented 1 year ago

This fixes #976 by saving the chief process' state before starting the oracle server. So when running the chief with overwrite=False, it gets reloaded properly and resumes tuning with the most recent trial.

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e935ac1) 98.37% compared to head (b07fc70) 98.37%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #977 +/- ## ======================================= Coverage 98.37% 98.37% ======================================= Files 50 50 Lines 3084 3085 +1 ======================================= + Hits 3034 3035 +1 Misses 50 50 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.