Reloading experiment from the database in Service API does not reload the generation strategy if a custom one was set
See original GitHub issueI initiate a AxClient as it shown below:
_gs = GenerationStrategy( steps=[ GenerationStep( model=Models.SOBOL, num_trials=3, max_parallelism=max_parallelism, model_kwargs={"seed": 999}, model_gen_kwargs={}, ), GenerationStep( model=Models.GPEI, num_trials=-1, max_parallelism=self.max_parallelism, ), ] ) ax_client = AxClient( generation_strategy=_gs, db_settings=db_settings )
And then I create the experiment: ax_client.create_experiment(....)
, without any generation strategy arguments. However, after the first call to get_next_trial
, I realized the generation strategy has gone back to default 6 Sobol iteration, and then GPEI.
Am I missing anything in customizing the generation strategy?
Issue Analytics
- State:
- Created a year ago
- Comments:10 (2 by maintainers)
Top GitHub Comments
Yes! I ran and got the same results!
https://github.com/facebook/Ax/pull/931 should handle it.