Skip to content

Update fixed_features type hints and docstrings in OptimizeAcqfInputs (#3240)#3240

Closed
saitcakmak wants to merge 1 commit intometa-pytorch:mainfrom
saitcakmak:fix/3111-optimize-acqf-inputs-typing
Closed

Update fixed_features type hints and docstrings in OptimizeAcqfInputs (#3240)#3240
saitcakmak wants to merge 1 commit intometa-pytorch:mainfrom
saitcakmak:fix/3111-optimize-acqf-inputs-typing

Conversation

@saitcakmak
Copy link
Copy Markdown
Contributor

@saitcakmak saitcakmak commented Mar 19, 2026

Summary:
The fixed_features parameter in OptimizeAcqfInputs, optimize_acqf, and optimize_acqf_cyclic now documents that values can be float (fixed across the batch) or Tensor (different fixed values per batch element, for batched optimization with different fixed features per restart).

Closes #3111

Reviewed By: esantorella

Differential Revision: D97314412

Pulled By: saitcakmak

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

meta-codesync bot commented Mar 19, 2026

@saitcakmak has imported this pull request. If you are a Meta employee, you can view this in D97314412.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.98%. Comparing base (b79646c) to head (450e9f4).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3240   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         220      220           
  Lines       21850    21850           
=======================================
  Hits        21846    21846           
  Misses          4        4           

☔ 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-pytorch#3240)

Summary:
The fixed_features parameter in OptimizeAcqfInputs, optimize_acqf, and optimize_acqf_cyclic now documents that values can be float (fixed across the batch) or Tensor (different fixed values per batch element, for batched optimization with different fixed features per restart).

Closes meta-pytorch#3111


Reviewed By: esantorella

Differential Revision: D97314412

Pulled By: saitcakmak
@meta-codesync meta-codesync bot changed the title Update fixed_features type hints and docstrings in OptimizeAcqfInputs Update fixed_features type hints and docstrings in OptimizeAcqfInputs (#3240) Mar 24, 2026
@saitcakmak saitcakmak force-pushed the fix/3111-optimize-acqf-inputs-typing branch from cca54ce to 450e9f4 Compare March 24, 2026 15:46
@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 D97314412.

@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 24, 2026

@saitcakmak merged this pull request in 37de228.

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.

[Bug]: Docstring/typing for OptimizeAcqfInputs

1 participant