News for hackers. Stuff that matters.
Re:Pytrees by geysersam on Tuesday May 23, 2023 @11:10AM (#36045419)
Okay, interesting. For such a small system I can imagine the jit compilation helps a lot.

Using Numba to jit compile the rhs might speed things up in the non-diffrax version.

Does the LSODA solver not take a minimum time step parameter? Setting that to your small fixed step might also help.

Re:Pytrees by patrickkidger on Tuesday May 23, 2023 @02:11PM (#36048409)
Incidentally `diffrax.PIDController` also has a `dtmin` argument that could probably be used here instead of re-running things. :)