Skip to content

fit_gyptorch_model refactor (#1371) #1134

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

Closed
wants to merge 1 commit into from
Closed

fit_gyptorch_model refactor (#1371) #1134

wants to merge 1 commit into from

Conversation

j-wilson
Copy link

Summary:
X-link: pytorch/botorch#1371

This commit updates fit_gpytorch_model and related methods, with the aim of fixing existing issues and improving extensibility. Key changes are as follow:

  • Replace fit_gpytorch_model with fit_gpytorch_mll, a Dispatcher backed reimplementation of the original model fitting pipeline. Note that fit_gpytorch_mll does not pass kwargs to optimizer and instead introduces an optional optimizer_kwargs argument.

  • Convert fit_gpytorch_model into a convenience method for calling fit_gpytorch_mll with (limited) support for legacy API.

  • Add validation for multioutput GP fitting routines based on decomposing a single model into a list of independent models.

  • Updated unit tests for relevant code paths.

Differential Revision: D38692173

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Sep 14, 2022
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: #1134

X-link: pytorch/botorch#1371

This commit updates `fit_gpytorch_model` and related methods, with the aim of fixing existing issues and improving extensibility. Key changes are as follow:

- Replace `fit_gpytorch_model` with `fit_gpytorch_mll`, a `Dispatcher` backed reimplementation of the original model fitting pipeline. Note that `fit_gpytorch_mll` does **not** pass `kwargs` to `optimizer` and instead introduces an optional `optimizer_kwargs` argument.

- Convert `fit_gpytorch_model` into a convenience method for calling `fit_gpytorch_mll` with (limited) support for legacy API.

- Add validation for multioutput GP fitting routines based on decomposing a single model into a list of independent models.

- Updated unit tests for relevant code paths.

Differential Revision: D38692173

fbshipit-source-id: 689f14de9c11a048dca9319863bb4c2adfe93284
@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit to pytorch/botorch that referenced this pull request Sep 16, 2022
Summary:
X-link: facebook/Ax#1134

Pull Request resolved: #1371

This commit updates `fit_gpytorch_model` and related methods, with the aim of fixing existing issues and improving extensibility. Key changes are as follow:

- Replace `fit_gpytorch_model` with `fit_gpytorch_mll`, a `Dispatcher` backed reimplementation of the original model fitting pipeline. Note that `fit_gpytorch_mll` does **not** pass `kwargs` to `optimizer` and instead introduces an optional `optimizer_kwargs` argument.

- Convert `fit_gpytorch_model` into a convenience method for calling `fit_gpytorch_mll` with (limited) support for legacy API.

- Add validation for multioutput GP fitting routines based on decomposing a single model into a list of independent models.

- Updated unit tests for relevant code paths.

Reviewed By: Balandat

Differential Revision: D38692173

fbshipit-source-id: 828cff264715cfa84ca4c4361db434574cf8fbf5
facebook-github-bot pushed a commit to facebookresearch/aepsych that referenced this pull request Sep 16, 2022
Summary:
X-link: facebook/Ax#1134

X-link: pytorch/botorch#1371

This commit updates `fit_gpytorch_model` and related methods, with the aim of fixing existing issues and improving extensibility. Key changes are as follow:

- Replace `fit_gpytorch_model` with `fit_gpytorch_mll`, a `Dispatcher` backed reimplementation of the original model fitting pipeline. Note that `fit_gpytorch_mll` does **not** pass `kwargs` to `optimizer` and instead introduces an optional `optimizer_kwargs` argument.

- Convert `fit_gpytorch_model` into a convenience method for calling `fit_gpytorch_mll` with (limited) support for legacy API.

- Add validation for multioutput GP fitting routines based on decomposing a single model into a list of independent models.

- Updated unit tests for relevant code paths.

Reviewed By: Balandat

Differential Revision: D38692173

fbshipit-source-id: 828cff264715cfa84ca4c4361db434574cf8fbf5
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants