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

Avoid inf-loop in TPE.suggest #680

Merged
merged 2 commits into from
Oct 1, 2021

Conversation

bouthilx
Copy link
Member

@bouthilx bouthilx commented Oct 1, 2021

[Fixes #679]

If TPE keep sampling points already suggested, the suggest loop will run
infinitely. This adds a max_retry to limit the number of iterations on
the loop.

If TPE keep sampling points already suggested, the suggest loop will run
infinitely. This adds a `max_retry` to limit the number of iterations on
the loop.
@bouthilx bouthilx added the bug Indicates an unexpected problem or unintended behavior label Oct 1, 2021
@bouthilx bouthilx added this to the v0.2 milestone Oct 1, 2021
@bouthilx bouthilx merged commit 8b4d2f5 into Epistimio:develop Oct 1, 2021
@bouthilx bouthilx mentioned this pull request Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TPE stuck during suggest()
1 participant