-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Lines 141 to 142 in 4632c36 Do you have a particular reason to use Adam here? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Lines 141 to 142 in 4632c36 Do you have a particular reason to use Adam here? |
Beta Was this translation helpful? Give feedback.
optimizer
is supposed to be a botorch optimizer callable not a torch Optimizer object, sofit_gpytorch_mll_scipy
orfit_gpytorch_mll_torch
as defined in https://github.com/pytorch/botorch/blob/4632c36bf6f74387b9a7064c2ce491a5a3d22f95/botorch/optim/fit.py (or if you want to implement a custom one you'll need to define a function complying with their API).fit_gpytorch_mll_torch
will use Adam by default. If you want to choose custom options you can pass a custommake_torch_optimizer()
factory function as the "optimizer_kwargs: {"optimizer": make_torch_optimizer}" tofit_gpytorch_mll
that will be used here:botorch/botorch/optim/fit.py
Lines 141 to 142 in 4632c36