Skip to content

Commit

Permalink
save chief's state before starting oracle server (keras-team#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfo authored Nov 17, 2023
1 parent 338b505 commit 92d713a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras_tuner/engine/base_tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def search(self, *fit_args, **fit_kwargs):
# Avoid import at the top, to avoid inconsistent protobuf versions.
from keras_tuner.distribute import oracle_chief

self.save()
oracle_chief.start_server(self.oracle)
return

Expand Down

0 comments on commit 92d713a

Please sign in to comment.