Open joemrt opened 1 month ago
Thanks @joemrt! I confirm via this test https://github.com/aleximmer/Laplace/commit/c182504070e3ae47e3ba374a009846f9b5c12f46 that this is indeed an unintended behavior.
Great, thanks @wiseodd! On first glance it appears to me that you forgot to pass the backend
to laplace
in the test
I noticed that
FullLaplace
produces float results even when only objects of double precision are being used. Here is a quick exampleInterestingly when using KFAC instead of the full hessian (i.e. when
full
above is replaced bykron
) the hessianla.H.to_matrix()
is of dtypefloat.64
.