File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 n_trials : 10
1111 budget_variable : epochs
1212 sweeper_kwargs :
13+ # When using Hyperband, we can use max_parallel 1
14+ # In this case, every bracket will be run in parallel
15+ max_parallelization : 1
1316 optimizer_kwargs :
1417 smac_facade :
1518 _target_ : smac.facade.multi_fidelity_facade.MultiFidelityFacade
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def test_smac_hyperband_termination():
4242 "hydra.run.dir=mlp_smac_hyperband" ,
4343 "hydra.sweep.dir=mlp_smac_hyperband" ,
4444 "hydra.sweeper.n_trials=20" ,
45- "+ hydra.sweeper.sweeper_kwargs.max_parallelization=1" ,
45+ "hydra.sweeper.sweeper_kwargs.max_parallelization=1" ,
4646 ]
4747 ).decode ("utf-8" )
4848 assert Path ("mlp_smac_hyperband" ).exists (), "Run directory not created"
@@ -81,7 +81,7 @@ def test_smac_hyperband_optimizer_termination():
8181 "hydra.run.dir=mlp_smac_hyperband" ,
8282 "hydra.sweep.dir=mlp_smac_hyperband" ,
8383 "hydra.sweeper.n_trials=24" ,
84- "+ hydra.sweeper.sweeper_kwargs.max_parallelization=1" ,
84+ "hydra.sweeper.sweeper_kwargs.max_parallelization=1" ,
8585 ]
8686 ).decode ("utf-8" )
8787 assert Path ("mlp_smac_hyperband" ).exists (), "Run directory not created"
You can’t perform that action at this time.
0 commit comments