-
Notifications
You must be signed in to change notification settings - Fork 404
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
Add mocks for optimize_acqf_mixed_alternating in fast_optimize_context_manager #2598
Conversation
This pull request was exported from Phabricator. Differential Revision: D65146455 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2598 +/- ##
=======================================
Coverage 99.98% 99.98%
=======================================
Files 196 196
Lines 17367 17370 +3
=======================================
+ Hits 17365 17368 +3
Misses 2 2 ☔ View full report in Codecov by Sentry. |
Summary: The name `optimize_acqf_mixed` conflicts with the optimizer with the same name, which is exposed in `botorch/optim/__init__.py`. This would lead to `botorch.optim.optimize_acqf_mixed` pointing to two different things. Differential Revision: D65158159
This pull request was exported from Phabricator. Differential Revision: D65146455 |
…t_manager (pytorch#2598) Summary: Pull Request resolved: pytorch#2598 This mocks the default number of iterations to 1 for `optimize_acqf_mixed_alternating`, which should speed up testing considerably when combined with the existing mocks for `scipy_minimize`. Differential Revision: D65146455
3d1887f
to
77d52db
Compare
…t_manager (pytorch#2598) Summary: Pull Request resolved: pytorch#2598 This mocks the default number of iterations to 1 for `optimize_acqf_mixed_alternating`, which should speed up testing considerably when combined with the existing mocks for `scipy_minimize`. Differential Revision: D65146455
…t_manager (pytorch#2598) Summary: Pull Request resolved: pytorch#2598 This mocks the default number of iterations to 1 for `optimize_acqf_mixed_alternating`, which should speed up testing considerably when combined with the existing mocks for `scipy_minimize`. Differential Revision: D65146455
77d52db
to
762c22a
Compare
This pull request was exported from Phabricator. Differential Revision: D65146455 |
This pull request has been merged in ac1e8e2. |
Summary: This mocks the default number of iterations to 1 for
optimize_acqf_mixed_alternating
, which should speed up testing considerably when combined with the existing mocks forscipy_minimize
.Differential Revision: D65146455