-
Notifications
You must be signed in to change notification settings - Fork 415
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
Performance & runtime improvements to info-theoretic acquisition functions (0/N) - Restructuring of sampling methods #2753
Conversation
4dbe092
to
14eddf6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2753 +/- ##
=======================================
Coverage 99.99% 99.99%
=======================================
Files 203 203
Lines 18692 18685 -7
=======================================
- Hits 18691 18684 -7
Misses 1 1 ☔ View full report in Codecov by Sentry. |
replacement: bool = False, | ||
temp_decrease: float = 0.5, | ||
): | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for the clear docstring!
@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
code, reshuffling of other sampling methods (that don't take an acqf)
Co-authored-by: Elizabeth Santorella <[email protected]>
fd338fb
to
6995223
Compare
@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@saitcakmak merged this pull request in 78c04e2. |
Reshuffling of sampling methods that are not directly related to acquisition function optimization (i.e., don't take it as an argument) based on this discussion. To remove code duplication specifically related to optimization of info-theoretic acquisition functions, this seemed like sensible moves!
Test Plan
Moved unittests and added new one for
boltzmann_sample
, which was used throughout and is once again used in subsequent PRs.Related PRs
First of a series, like this one.