`fit_gyptorch_model` refactor (#1371)
Summary: X-link: https://github.com/pytorch/botorch/pull/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_modelwithfit_gpytorch_mll, aDispatcherbacked reimplementation of the original model fitting pipeline. Note thatfit_gpytorch_mlldoes not passkwargstooptimizerand instead introduces an optionaloptimizer_kwargsargument. -
Convert
fit_gpytorch_modelinto a convenience method for callingfit_gpytorch_mllwith (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
This pull request was exported from Phabricator. Differential Revision: D38692173
This pull request was exported from Phabricator. Differential Revision: D38692173
This pull request was exported from Phabricator. Differential Revision: D38692173