Skip to content

Diffrax v0.2.2

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Nov 18:39
· 176 commits to main since this release
ea1bdc9

Performance improvements

  • Now make fewer vector field traces in several cases (#172, #174)

Fixes

  • Many documentation improvements.
  • Fixed several warnings about jax.{tree_map,tree_leaves,...} being moved to jax.tree_util.{tree_map,tree_leaves,...}. (Thanks @jacobusmmsmit!)
  • Fixed the step size controller choking if the error is ever NaN. (#143, #152)
  • Fixed some crashes due to JAX-internal changes (If you've ever seen it throw an error about not knowing how to rewrite closed_call_p, it's this one.)
  • Fixed an obscure edge-case NaN on the backward pass, if you were using an implicit solver with an adaptive step size controller, got a rejected step due to the implicit solve failing to converge, and happened to also be backpropagating wrt the controller_state.

Other

  • Added a new Kalman filter example (#159) (Thanks @SimiPixel!)
  • Brownian motion classes accept pytrees for shape and dtype arguments (#183) (Thanks @ciupakabra!)
  • The main change is an internal refactor: a lot of functionality has moved diffrax.misc -> equinox.internal.

New Contributors

Full Changelog: v0.2.1...v0.2.2