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

fix bug in UnitX when transforming new search space #2639

Closed
wants to merge 1 commit into from

Conversation

sdaulton
Copy link
Contributor

@sdaulton sdaulton commented Aug 6, 2024

Summary:
This fixes a significant bug, where a new search space (other than the search space passed to UnitX.__init__) that is passed to UnitX._transform_search_space is not actually transformed.

A common setting where this comes up is passing a new search space to Modelbridge.gen to generate candidates from a particular part of the searchspace. E.g. if the original search space bounds for x were [2.0, 5.0] and I want to generate candidates from the restricted search space [3.0, 4.0] by passing a search space to Modelbridge.gen, the new search space previously ignored.

Differential Revision: D60855920

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 6, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60855920

Summary:
Pull Request resolved: facebook#2639

This fixes a significant bug, where a new search space (other than the search space passed to `UnitX.__init__`) that is passed to `UnitX._transform_search_space` is not actually transformed.

A common setting where this comes up is passing a new search space to `Modelbridge.gen` to generate candidates from a particular part of the searchspace. E.g. if the original search space bounds for `x` were [2.0, 5.0] and I want to generate candidates from the restricted search space [3.0, 4.0] by passing a search space to `Modelbridge.gen`, the new search space previously ignored.

Reviewed By: mgarrard

Differential Revision: D60855920
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60855920

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c85a803.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants