at.grad throws NotImplementedError #961
-
On this episode of "If You Give a Mouse a Cookie", I have put everything you showed me in the other thread together into one system, and I am able to get gradients with respect to model parameters through two iterative solution algorithms, which is really neat! But when I try to tack on a Kalman Filter to the end, suddenly the wheels fall off the cart. Asking for gradients with respect to the parameters that go through the entire solver process throws a "NotImplementedError". If I ask for gradients with respect to variables that do NOT go through this solver, on the other hand, I get back happy gradients. Evidently there is an Op buried somewhere in the pile that doesn't have a Worth nothing is that ran into this problem once when using I uploaded a short notebook that shows the error, along with some checks that things aren't completely broken in other places. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
We should print a more informative exception that mentions which |
Beta Was this translation helpful? Give feedback.
We should print a more informative exception that mentions which
Op
has no grad implemented. For now setting abreakpoint
before the line that raises should allow you to find whichOp
it is