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

Don't allow unused keyword arguments in Model.construct_inputs #2186

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Member

Summary: BoTorch changes to go with the subsequent Ax diff. This will eventually need to be landed with this diff going before the Ax diff.

Differential Revision: D53086323

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

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

esantorella added a commit to esantorella/Ax that referenced this pull request Feb 6, 2024
Summary: We have been testing multi-fidelity search spaces with single-fidelity models. Once pytorch/botorch#2186 lands, this will raise an exception because fidelity parameters will be passed to Botorch model input constructors that don't accept them.

Differential Revision: D53444637
esantorella added a commit to esantorella/Ax that referenced this pull request Feb 9, 2024
Summary:

We have been testing multi-fidelity search spaces with single-fidelity models. Once pytorch/botorch#2186 lands, this will raise an exception because fidelity parameters will be passed to Botorch model input constructors that don't accept them.

Reviewed By: SebastianAment

Differential Revision: D53444637
esantorella added a commit to esantorella/Ax that referenced this pull request Feb 9, 2024
Summary:

We have been testing multi-fidelity search spaces with single-fidelity models. Once pytorch/botorch#2186 lands, this will raise an exception because fidelity parameters will be passed to Botorch model input constructors that don't accept them.

Reviewed By: SebastianAment

Differential Revision: D53444637
facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Feb 9, 2024
Summary:
Pull Request resolved: #2184

We have been testing multi-fidelity search spaces with single-fidelity models. Once pytorch/botorch#2186 lands, this will raise an exception because fidelity parameters will be passed to Botorch model input constructors that don't accept them.

Reviewed By: SebastianAment

Differential Revision: D53444637

fbshipit-source-id: 343e5557e1c6495022d121ef5c9488ca4eae8cb1
esantorella added a commit to esantorella/botorch that referenced this pull request Feb 15, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

esantorella added a commit to esantorella/Ax that referenced this pull request Feb 15, 2024
Summary:
* Don't pass the option `some_option` to the SingleTaskGP input constructor.

This will trigger errors in pytorch/botorch#2186

Differential Revision: D53825351
esantorella added a commit to esantorella/Ax that referenced this pull request Feb 22, 2024
…ok#2203)

Summary:

* Don't pass the option `some_option` to the SingleTaskGP input constructor.

This will trigger errors in pytorch/botorch#2186

Reviewed By: sdaulton

Differential Revision: D53825351
esantorella added a commit to esantorella/botorch that referenced this pull request Feb 22, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

esantorella added a commit to esantorella/botorch that referenced this pull request Feb 22, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Feb 22, 2024
Summary:
Pull Request resolved: #2203

* Don't pass the option `some_option` to the SingleTaskGP input constructor.

This will trigger errors in pytorch/botorch#2186

Reviewed By: sdaulton

Differential Revision: D53825351

fbshipit-source-id: 5e727cbe39ae1d588092951e12768e278d6056c7
@facebook-github-bot
Copy link
Contributor

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

esantorella added a commit to esantorella/Ax that referenced this pull request Feb 28, 2024
Summary: Prior to D53814087, `metric_names` could be be passed to `BoTorchModel.fit` as a named argument. After D53814087, if `metric_names` are passed they are absorbed into `**additional_model_inputs` and eventually ignored. Starting in D53086323 (pytorch/botorch#2186), such inputs will error rather than be ignored.

Differential Revision: D54320622
esantorella added a commit to esantorella/botorch that referenced this pull request Feb 28, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

Differential Revision: D53086323
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.87%. Comparing base (dc219ca) to head (aab42e9).
Report is 6 commits behind head on main.

❗ Current head aab42e9 differs from pull request most recent head 7f0ab2c. Consider uploading reports for the commit 7f0ab2c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2186      +/-   ##
==========================================
- Coverage   99.97%   99.87%   -0.10%     
==========================================
  Files         197      188       -9     
  Lines       17165    16741     -424     
==========================================
- Hits        17160    16720     -440     
- Misses          5       21      +16     

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

esantorella added a commit to esantorella/Ax that referenced this pull request Feb 28, 2024
Summary: Prior to D53814087, `metric_names` could be be passed to `BoTorchModel.fit` as a named argument. After D53814087, if `metric_names` are passed they are absorbed into `**additional_model_inputs` and eventually ignored. Starting in D53086323 (pytorch/botorch#2186), such inputs will error rather than be ignored.

Reviewed By: Balandat

Differential Revision: D54320622
esantorella added a commit to esantorella/botorch that referenced this pull request Feb 28, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Feb 29, 2024
Summary: Prior to D53814087, `metric_names` could be be passed to `BoTorchModel.fit` as a named argument. After D53814087, if `metric_names` are passed they are absorbed into `**additional_model_inputs` and eventually ignored. Starting in D53086323 (pytorch/botorch#2186), such inputs will error rather than be ignored.

Reviewed By: Balandat

Differential Revision: D54320622

fbshipit-source-id: 6afec3ab889d3493963c598eb459a2f6e5498a66
esantorella added a commit to esantorella/botorch that referenced this pull request Mar 15, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

esantorella added a commit to esantorella/botorch that referenced this pull request Apr 12, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

esantorella added a commit to esantorella/botorch that referenced this pull request Apr 12, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

esantorella added a commit to esantorella/botorch that referenced this pull request Apr 17, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

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

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

esantorella added a commit to esantorella/botorch that referenced this pull request Apr 17, 2024
…ch#2186)

Summary: Pull Request resolved: pytorch#2186

Reviewed By: saitcakmak

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

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

…ch#2186)

Summary: Pull Request resolved: pytorch#2186

Reviewed By: saitcakmak

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ee8aef0.

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