Closed
Description
🐛 Bug
With the newest release, the ard_num_dims
attribute (and potentially others!?) is no longer set in the Kernel
base class. I think the problem is that it entered via kwargs
in the previous version but now comes as an explicit parameter, which was perhaps forgotten to be passed to the super().__init__
call?
To reproduce
Code snippet to reproduce
from gpytorch.kernels import LinearKernel
print(LinearKernel(ard_num_dims=1).ard_num_dims)
Stack trace/error message
1 # gpytorch==1.13
None # gpytorch==1.14
System information
Please complete the following information:
- GPyTorch Version: 1.14
- PyTorch Version: 2.5.1
- Computer OS: macOS
Activity