Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ParallelStrategies from Producer and make them reusable modules for algorithms instead. #760

Merged

Conversation

bouthilx
Copy link
Member

Fixes #602

They will become part of algorithms instead of being held outside of
them. Algorithms need to handle non completed trials differently.
The parallel strategy will now be part of algorithm configuration. There
is nothing to configure in the producer so it is removed altogether from
experiment configuration.

Any configuration passed for parallel strategy will trigger a warning
and be ignored. It would be too complicated to try to map this to
algorithm arguments for parallel strategies.

Deprecation is planned for v0.4.
Some algorithms may require different parallel strategy for trials of
different status. For instance, a pending trial has a better potential
than a broken trial which should be assigned a very bad objective.
The StatusBasedParallelStrategy can be configured to apply different
strategies based on the trial status.
@bouthilx bouthilx added the enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt) label Jan 11, 2022
@bouthilx bouthilx added this to the v0.2.2 milestone Jan 11, 2022
@bouthilx bouthilx merged commit 732e739 into Epistimio:develop Jan 14, 2022
@bouthilx bouthilx mentioned this pull request Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove ParallelStrategies from Producer and make them reusable modules for algorithms instead.
2 participants