Skip to content

Commit

Permalink
Use single worker for test toy optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronzila committed Jul 31, 2023
1 parent 5ad146b commit 0c6b26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dehb.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def create_toy_optimizer(configspace: ConfigSpace.ConfigurationSpace, min_budget
dim = len(configspace.get_hyperparameters())
return DEHB(f=objective_function, cs=configspace, dimensions=dim,
min_budget=min_budget,
max_budget=max_budget, eta=eta, n_workers=2)
max_budget=max_budget, eta=eta, n_workers=1)


def objective_function(x: ConfigSpace.Configuration, budget: float, **kwargs):
Expand Down

0 comments on commit 0c6b26a

Please sign in to comment.