Skip to content

Commit

Permalink
Re-introduce fix from Epistimio#964 (?)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>
  • Loading branch information
lebrice committed Jul 29, 2022
1 parent cdf5eee commit bad79fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/orion/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,7 @@ def workon(
knowledge_base=knowledge_base,
)

producer = Producer(experiment)

experiment_client = ExperimentClient(experiment, producer)
experiment_client = ExperimentClient(experiment)

with experiment_client.tmp_executor("singleexecutor", n_workers=1):
experiment_client.workon(function, n_workers=1, max_trials=max_trials)
Expand Down

0 comments on commit bad79fc

Please sign in to comment.