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

Silence batch_initial_conditions warnings in optimize_acqf_mixed_alternating #2749

Closed
wants to merge 2 commits into from

Conversation

saitcakmak
Copy link
Contributor

We were getting a bunch of warnings due to raw_samples and batch_initial_conditions not matching, despite the underlying code behaving correctly. Updated the code to avoid unnecessary warnings. This change eliminates 74 warnings in TestOptimizeAcqfMixed.

Before:
Screenshot 2025-02-18 at 6 36 49 PM

After:
Screenshot 2025-02-18 at 6 37 03 PM

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

@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link

codecov bot commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.99%. Comparing base (052d0d8) to head (d8775c6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2749   +/-   ##
=======================================
  Coverage   99.99%   99.99%           
=======================================
  Files         203      203           
  Lines       18690    18690           
=======================================
  Hits        18689    18689           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

@saitcakmak merged this pull request in 9a7c517.

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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants