question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reloading experiment from the database in Service API does not reload the generation strategy if a custom one was set

See original GitHub issue

I 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:closed
  • Created a year ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
farrokhsiarcommented, Apr 20, 2022

Yes! I ran and got the same results!

1reaction
danielcohenlivecommented, Apr 22, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Hibernate JPA Sequence (non-Id) - java - Stack Overflow
I fixed the generation of UUID (or sequences) with Hibernate using ... This way I do not need to query the database each...
Read more >
Using Hibernate ORM and JPA - Quarkus
To load SQL statements when Hibernate ORM starts, add an import.sql file to the root of your resources directory. This script can contain...
Read more >
Batch Insert/Update with Hibernate/JPA - Baeldung
In this tutorial, we'll learn how we can batch insert and update entities using Hibernate/JPA. Batching allows us to send a group of...
Read more >
Refreshing the Asset Database - Unity - Manual
Hot reloading refers to the process where Unity imports and applies any changes to scripts and assets while the Editor is open. This...
Read more >
“How-to” Guides - Spring
No matter what you set in the environment, Spring Boot always loads application.properties as described above. By default, if YAML is used, then ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found