Skip to content

Clean up sampler usage in pick_best_out_of_sample_point_acqf_class (#5095)#5095

Closed
saitcakmak wants to merge 1 commit into
facebook:mainfrom
saitcakmak:export-D97956036
Closed

Clean up sampler usage in pick_best_out_of_sample_point_acqf_class (#5095)#5095
saitcakmak wants to merge 1 commit into
facebook:mainfrom
saitcakmak:export-D97956036

Conversation

@saitcakmak
Copy link
Copy Markdown
Contributor

@saitcakmak saitcakmak commented Mar 24, 2026

Summary:

This was generating a SobolQMCSampler regardless of the model it is used with. SobolQMCSampler does not support PosteriorList, which was leading to issues with LILO integration. This diff cleans up the generated options in pick_best_out_of_sample_point_acqf_class, since BoTorch (in MCSamplerMixin.get_posterior_samples) will dispatch to proper defaults without them.
This led to the options input becoming unused, so I removed those rather than having them get ignored silently.

Differential Revision: D97956036

@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 24, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 24, 2026

@saitcakmak has exported this pull request. If you are a Meta employee, you can view the originating Diff in D97956036.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.40%. Comparing base (c02d819) to head (b079983).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5095      +/-   ##
==========================================
- Coverage   96.41%   96.40%   -0.01%     
==========================================
  Files         613      613              
  Lines       68194    68186       -8     
==========================================
- Hits        65747    65738       -9     
- Misses       2447     2448       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@meta-codesync meta-codesync Bot changed the title Clean up sampler usage in pick_best_out_of_sample_point_acqf_class Clean up sampler usage in pick_best_out_of_sample_point_acqf_class (#5095) Mar 31, 2026
saitcakmak added a commit to saitcakmak/Ax that referenced this pull request Mar 31, 2026
…acebook#5095)

Summary:

This was generating a SobolQMCSampler regardless of the model it is used with. SobolQMCSampler does not support PosteriorList, which was leading to issues with LILO integration. This diff cleans up the generated options in `pick_best_out_of_sample_point_acqf_class`, since BoTorch (in `MCSamplerMixin.get_posterior_samples`) will dispatch to proper defaults without them.
This led to the `options` input becoming unused, so I removed those rather than having them get ignored silently.

Differential Revision: D97956036
…acebook#5095)

Summary:

This was generating a SobolQMCSampler regardless of the model it is used with. SobolQMCSampler does not support PosteriorList, which was leading to issues with LILO integration. This diff cleans up the generated options in `pick_best_out_of_sample_point_acqf_class`, since BoTorch (in `MCSamplerMixin.get_posterior_samples`) will dispatch to proper defaults without them.
This led to the `options` input becoming unused, so I removed those rather than having them get ignored silently.

Differential Revision: D97956036
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 31, 2026

This pull request has been merged in efd72a6.

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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants