torchsde icon indicating copy to clipboard operation
torchsde copied to clipboard

torch-sde and diffrax

Open poltomo opened this issue 8 months ago • 1 comments

What are the differences between torch-sde and diffrax aside from torch vs jax? Is one more suited than the other for stochastic partial differential equations?

poltomo avatar May 07 '25 18:05 poltomo

torchsde is in in maintenance mode only, so I now recommend Diffrax. See the 'see also' section of the last torchsde release: https://github.com/google-research/torchsde/releases/tag/v0.2.6

On a technical level, Diffrax is typically much faster, and also supports many additional features (event handling, dense output, other solvers, ...).

patrick-kidger avatar May 07 '25 19:05 patrick-kidger