Closed wiseodd closed 4 months ago
This seems to be a bug of BackPACK. @f-dangel don't really know the cause though. We should just document the caveats of each backend on the README.
This bug is less relevant anyway with the change to the curvlinops backend as the default.
Let's collapse this with #82.
[Tested in the
master
branch]Say you have this class:
Then, this works fine:
But this
will throw error:
Same with function. See a minimal script for reproducing them here: (Put it inside
examples
dir.) https://gist.github.com/wiseodd/62fadb452f77e488acc3716ed3822ac7.When one removes these lines, things work. Felix currently doesn't have any idea why this happens from Backpack's side. https://github.com/AlexImmer/Laplace/blob/ada1c6f9a4aa879939de52c8fa454ff27cbfe5a4/laplace/curvature/backpack.py#L57-L58
Do we know from Laplace's side why might this happen?