You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently trying to evaluate a GP using GridInterpolationKernel on test points stored as torch.nn.Parameter.
Line 89 in utils/interpolation.py results in an assertion error from assert not ctx.needs_input_grad[2] in torch/autograd/_functions/tensor.py
You can produce this error by putting x = Variable(torch.Tensor(1, 2).uniform_(), requires_grad=True) model(x)
at the end of the kissgp_kronecker_product_regression.ipython notebook in examples.
This issue does not occur when using RBFKernel or SpectralMixtureKernel
I reproduced this issue after doing a fresh pull and install of gpytorch, traceback attached.
Currently trying to evaluate a GP using GridInterpolationKernel on test points stored as torch.nn.Parameter.
Line 89 in utils/interpolation.py results in an assertion error from
assert not ctx.needs_input_grad[2]
in torch/autograd/_functions/tensor.pyYou can produce this error by putting
x = Variable(torch.Tensor(1, 2).uniform_(), requires_grad=True)
model(x)
at the end of the kissgp_kronecker_product_regression.ipython notebook in examples.
This issue does not occur when using RBFKernel or SpectralMixtureKernel
I reproduced this issue after doing a fresh pull and install of gpytorch, traceback attached.
traceback.txt
The text was updated successfully, but these errors were encountered: