Questions and problems with different precisions #6851
-
Hi, I try to implement an autoencoder where the latent space is not euclidean but has hyperbolic and spherical geometry. I use geoopt for this. They recommend to use double precision for numerical stability. When I run my LightningModule with
I think this error comes from inconsistencies in my Module. But I do not know how to find them. Do you have any tips to track down the inconsistencies that disturb pickling? However, when I run with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @gatoniel, not sure about the NaNs but the pickle error definitely looks like a bug on our end. The double precision plugin patches the |
Beta Was this translation helpful? Give feedback.
Hi @gatoniel, not sure about the NaNs but the pickle error definitely looks like a bug on our end. The double precision plugin patches the
training_step
which would explain that error. Mind opening an issue for it?