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

Rename fast_optimize to mock_optimize #2599

Closed
wants to merge 3 commits into from

Conversation

saitcakmak
Copy link
Contributor

Summary: Updates the name to clarify that this is just a mock and does not magically speed up optimization without consequences.

Differential Revision: D65146794

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

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

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (9d37e90) to head (deda7ae).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2599   +/-   ##
=======================================
  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.
📢 Have feedback on the report? Share it here.

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
…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
@facebook-github-bot
Copy link
Contributor

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

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Oct 29, 2024
Summary:
Pull Request resolved: pytorch#2599

Updates the name to clarify that this is just a mock and does not magically speed up optimization without consequences.

Reviewed By: sdaulton, Balandat

Differential Revision: D65146794
Summary:
Pull Request resolved: pytorch#2599

Updates the name to clarify that this is just a mock and does not magically speed up optimization without consequences.

Reviewed By: sdaulton, Balandat

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c671077.

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