Closed mariogeiger closed 10 months ago
Ok I can see in https://github.com/google/lineax/blob/main/lineax/_solve.py#L234
that it comes from the jvp
rule. I guess it's hard/impossible to properly handle errors in the backward pass :/
I understand why you did like that, that's kind of neat
Yeah, unfortunately there's no good place to pipe errors to if they occur in the backward pass.
(Unrelatedly, if you have an equinox.filter_jit
up at the top level, then I think it should filter out a lot of the noise in that error message.)
I hope I will find my issue and close this issue myself but I post already the issue.
I use
dx.diffeqsolve
andlx.linear_solve
to integrate a geodesic equation. In both function I setthrow=False
and I checksolution.result
to handle the error on my side. However it still raise errors as shown below.More details: I use
dx.ODETerm
,dx.Dopri5
,dx.PIDController
,lx.JacobianLinearOperator
,lx.AutoLinearSolver(well_posed=False)