forked from pytorch/botorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Homotopy explicit all kwargs (pytorch#2588)
Summary: This PR seeks to address: pytorch#2579 `optimize_acqf_homotopy` is a fairly minimal wrapper around `optimize_acqf` but didn't have all the constraint functionality. This PR copies over all of the arguments that we could in principal want to use up into `optimize_acqf_homotopy`. For the time being `final_options` has been kept. The apparent bug with fixed features not being passed to the final optimization has been fixed. a simple dict rather than `OptimizeAcqfInputs` dataclass is used to store the shared parameters. ## Related PRs The original approach in pytorch#2580 made use of kwargs which was opposed due to being less explicit. Pull Request resolved: pytorch#2588 Reviewed By: Balandat Differential Revision: D64694021 Pulled By: saitcakmak fbshipit-source-id: a10f00f0d069e411e6f12e9eafaec0eba454493d
- Loading branch information
1 parent
b9d863d
commit 24f659c
Showing
3 changed files
with
136 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters