Open wiseodd opened 1 month ago
Minimum example to get this error: https://gist.github.com/wiseodd/b29973cd96f96f3af620ca131571eaa4
Fix:
use AsdlGGN backend and then in _glm_predictive_distribution (in baselaplace.py), use:
AsdlGGN
_glm_predictive_distribution
baselaplace.py
Js, f_mu = self.backend.jacobians(X)
instead of:
Js, f_mu = self.backend.functorch_jacobians(X)
I think this is because: https://github.com/pytorch/functorch/issues/1058
Minimum example to get this error: https://gist.github.com/wiseodd/b29973cd96f96f3af620ca131571eaa4
Fix:
use
AsdlGGN
backend and then in_glm_predictive_distribution
(inbaselaplace.py
), use:instead of: