Skip to content

Commit

Permalink
Save after ask
Browse files Browse the repository at this point in the history
  • Loading branch information
hadarshavit committed Oct 12, 2024
1 parent 81b2380 commit fdbe11e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion smac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Copyright {datetime.date.today().strftime('%Y')}, Marius Lindauer, Katharina Eggensperger,
Matthias Feurer, André Biedenkapp, Difan Deng, Carolin Benjamins, Tim Ruhkopf, René Sass
and Frank Hutter"""
version = "2.2.0post10"
version = "2.2.0post11"


try:
Expand Down
2 changes: 2 additions & 0 deletions smac/main/smbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ def optimize(self, *, data_to_scatter: dict[str, Any] | None = None) -> Configur
# We submit the trial to the runner
# In multi-worker mode, SMAC waits till a new worker is available here
self._runner.submit_trial(trial_info=trial_info, **dask_data_to_scatter)

self.save()
except StopIteration:
self._stop = True

Expand Down

0 comments on commit fdbe11e

Please sign in to comment.