I am trying to solve a neural ODE using the diffrax.ImplicitAdjoint(), adaptive step sizing and the steady state event as proposed in the documentation. However, I get this error message which I do not fully understand.
equinox.EquinoxRuntimeError: Terminating differential equation solve because an event occurred.
From my understanding: I actually want the solution at the steady state (diffrax.SaveAt(t1=True)), so I would expect that the event is fired once the steady state is reached and consequently the differential equation solve is being stopped. Otherwise the solver would solve forever, since t1 = jnp.inf, unless this was not capped by max_steps. Am I correct?
Hello,
I am trying to solve a neural ODE using the
diffrax.ImplicitAdjoint()
, adaptive step sizing and the steady state event as proposed in the documentation. However, I get this error message which I do not fully understand.I have
t0 = 0
andt1 = jnp.inf
with this eventFrom my understanding: I actually want the solution at the steady state (
diffrax.SaveAt(t1=True)
), so I would expect that the event is fired once the steady state is reached and consequently the differential equation solve is being stopped. Otherwise the solver would solve forever, sincet1 = jnp.inf
, unless this was not capped bymax_steps
. Am I correct?Any help is much appreciated, thanks!