GPytorch + Pytorch Lightening #1759
Replies: 4 comments 5 replies
-
I'm not sure if anyone has attempted a Gpytorch/lightning integration yet. I'm curious to know if it does work or if there are any issues that we'd need to fix. |
Beta Was this translation helpful? Give feedback.
-
I am using Stochastic Deep Kernel learning with PytorchLightening and haven't encountered any problem. Specifically, the model class inherits from two classes:
|
Beta Was this translation helpful? Give feedback.
-
@andreimargeloiu I am also trying to implement Stochastic Deep Kernel Learning with a lightning module, but struggling to get it to work. I made a google colab notebook that tries to implement it on a Toy Regression Dataset but I just get mean 0 predictions. I am not sure what I am doing wrong, and was wondering whether you had any pointers? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi Andrei, thank you for your answer and code example. May I ask why you set ```combine_terms=False````? in self.mll_elbo = gpytorch.mlls.VariationalELBO( |
Beta Was this translation helpful? Give feedback.
-
Are there known issues of using Gpytorch with Pytorch lightning?
For example, is there any functionality of a
gpytorch.Module
that wouldn't work if it's defined as an attribute of a class extending LighteningModule?Beta Was this translation helpful? Give feedback.
All reactions