-
Notifications
You must be signed in to change notification settings - Fork 310
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 support(?) for multiple surrogates from Acquisition #2916
Conversation
This pull request was exported from Phabricator. Differential Revision: D64610244 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2916 +/- ##
==========================================
- Coverage 95.67% 95.67% -0.01%
==========================================
Files 502 502
Lines 49533 49525 -8
==========================================
- Hits 47391 47383 -8
Misses 2142 2142 ☔ View full report in Codecov by Sentry. |
…2916) Summary: The current implementation of `Acqusition.__init__` technically supports multiple surrogates. It combines the models from each surrogate into a `ModelDict` before passing them down to acquisition input constructors. `ModelDict` was added some time ago with the goal of using it to support failure aware BO, but those methods never got implemented and there is no current use case that supports it. In its current form, the support for multiple surrugates is completely superficial and does not bring much value. It requires complex handling of arguments like `X_pending` and `X_observed`, which itself comes with TODOs to fix or improve it. This diff removes support for multiple surrogates from `Acquisition` and cleans up some of the complicated argument handling that was necessitated by it. If we decide to support multiple surrogates again at a later date, we can do so with a better thought out design and implement it more cleanly. Differential Revision: D64610244
…2916) Summary: The current implementation of `Acqusition.__init__` technically supports multiple surrogates. It combines the models from each surrogate into a `ModelDict` before passing them down to acquisition input constructors. `ModelDict` was added some time ago with the goal of using it to support failure aware BO, but those methods never got implemented and there is no current use case that supports it. In its current form, the support for multiple surrugates is completely superficial and does not bring much value. It requires complex handling of arguments like `X_pending` and `X_observed`, which itself comes with TODOs to fix or improve it. This diff removes support for multiple surrogates from `Acquisition` and cleans up some of the complicated argument handling that was necessitated by it. If we decide to support multiple surrogates again at a later date, we can do so with a better thought out design and implement it more cleanly. Differential Revision: D64610244
e227828
to
aaa8bb2
Compare
This pull request was exported from Phabricator. Differential Revision: D64610244 |
…2916) Summary: The current implementation of `Acqusition.__init__` technically supports multiple surrogates. It combines the models from each surrogate into a `ModelDict` before passing them down to acquisition input constructors. `ModelDict` was added some time ago with the goal of using it to support failure aware BO, but those methods never got implemented and there is no current use case that supports it. In its current form, the support for multiple surrugates is completely superficial and does not bring much value. It requires complex handling of arguments like `X_pending` and `X_observed`, which itself comes with TODOs to fix or improve it. This diff removes support for multiple surrogates from `Acquisition` and cleans up some of the complicated argument handling that was necessitated by it. If we decide to support multiple surrogates again at a later date, we can do so with a better thought out design and implement it more cleanly. Differential Revision: D64610244
This pull request has been merged in 42be53a. |
Summary:
The current implementation of
Acqusition.__init__
technically supports multiple surrogates. It combines the models from each surrogate into aModelDict
before passing them down to acquisition input constructors.ModelDict
was added some time ago with the goal of using it to support failure aware BO, but those methods never got implemented and there is no current use case that supports it.In its current form, the support for multiple surrugates is completely superficial and does not bring much value. It requires complex handling of arguments like
X_pending
andX_observed
, which itself comes with TODOs to fix or improve it.This diff removes support for multiple surrogates from
Acquisition
and cleans up some of the complicated argument handling that was necessitated by it. If we decide to support multiple surrogates again at a later date, we can do so with a better thought out design and implement it more cleanly.Differential Revision: D64610244