Skip to content

Conversation

@sdaulton
Copy link
Contributor

Summary:
X-link: facebook/Ax#4080

Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes convert_to_target_pre_hook, which only works for args and doesn't work for kwargs. Previously LogProbabilityOfFeasibility would error out if called with a kwarg---e.g. acqf(X=X) dtype and device are set in _mean_and_sigma for these AFs anyway.

Differential Revision: D79281274

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

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

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
sdaulton added a commit to sdaulton/botorch that referenced this pull request Jul 30, 2025
)

Summary:

X-link: facebook/Ax#4080

Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

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

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

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
)

Summary:

X-link: facebook/Ax#4080

Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

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

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

@codecov
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c8edbe5) to head (fbd4500).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2945   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          216       216           
  Lines        20225     20232    +7     
=========================================
+ Hits         20225     20232    +7     

☔ 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.

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Jul 30, 2025
Summary:
X-link: meta-pytorch/botorch#2945


Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

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

This pull request has been merged in 1ee3a86.

facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Jul 31, 2025
Summary:
X-link: meta-pytorch/botorch#2945

Pull Request resolved: #4080

Constraints were being passed in the wrong format (a list of callables rather than a dictionary of indices to bounds).

This also removes `convert_to_target_pre_hook`, which only works for args and doesn't work for kwargs. Previously `LogProbabilityOfFeasibility` would error out if called with a kwarg---e.g. `acqf(X=X)` dtype and device are set in `_mean_and_sigma` for these AFs anyway.

Reviewed By: SebastianAment

Differential Revision: D79281274

fbshipit-source-id: ad4d7b5dc524f80c8151c11f8d6f2921aa9ea5db
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