diffrax icon indicating copy to clipboard operation
diffrax copied to clipboard

Numerical differential equation solvers in JAX. Autodifferentiable and GPU-capable. https://docs.kidger.site/diffrax/

Results 267 diffrax issues
Sort by recently updated
recently updated
newest added

Hi, I've wasted some time because I made a small mistake, and the error was quite obscure. I passed `EulerHeun` instead of `EulerHeun()` as the solver argument. Minimal example: ```...

There is a special case that leads to the same step in PID being recalculated infinitely. This arises in PIDController.adapt_step_size() when t0 is high, dt is clipped to dtmin, and...

Hello, I have a system of two coupled ODEs. I tried several solvers from Diffrax, both non-stiff and stiff, with and without time step control. Every solver falls on this...

Hi! :) I just wanted to ask if its possible to also support Events for the BacksolveAdjoint. I know that its advised against using BacksolveAdjoint by this library in general...

question

I'm solving an ODE system for viral dynamics using `Kvaerno4` with a PID controller. The state variables need to stay non-negative.... I searched the docs and issues but didn't find...

question

I want to calculate the derivatives of the output of a neural ODE w.r.t. the input. However, I met with memory issues. I think the memory-saving method `RecursiveCheckpointAdjoint` doesn't support...

question

Has there been discussion of implementing [multirate methods](https://arxiv.org/abs/2505.20062) in `diffrax`? See Sec. 2.4.3. of the linked article, Fig. 4. By this, I mean methods tailored to the case where `ODETerm`...

feature

Hi there I'm working with dynamical systems and have run in a small issue regarding differentiation with respect to control inputs. From my studies of the examples provided I assumed...

question

Hello, I wrote a simulator to simulate a ODE system ( with at least 256x256 ODEs in this system), max_steps=1000, solver is Tsit5, adjoints=diffrax.RecursiveCheckpointAdjoint(), however I found the error: Execution...

question

https://github.com/patrick-kidger/diffrax/blob/main/diffrax/_custom_types.py#L136 has all the jaxtyping imports but Real, I assume this wasn't intentional (or if so, why is that the case?)

question