Skip to content

Releases: google-research/torchsde

v0.2.6

26 Sep 22:07
5a63002
Compare
Choose a tag to compare

Two-and-a-half-years since the last release. How time flies. This is primarily a maintenance release.

Changes since v0.2.4

See also

Note that Diffrax now comes highly recommended. This is a JAX-based suite of numerical ODE+SDE solvers. For most applications it is more advanced than torchsde. (In particular, it is often several times faster.) Whilst torchsde will continue to exist, new projects should consider this alternative.

New Contributors

Full Changelog: v0.2.4...v0.2.6

v0.2.4

05 Jan 18:31
709968c
Compare
Choose a tag to compare

Efficiency improvements:

  • add f_and_g and f_and_g_prod functions so that drift and diffusion can be computed together

Bug fixes:

  • calling solver.integrate twice internally
  • adaptive error estimation not recognizing singleton tensors

v0.2.1

22 Oct 16:12
20fea33
Compare
Choose a tag to compare

New features include

  • BrownianInterval: A Brownian motion data structure that has constant memory storage and exact queries relying on LRU caches
  • Basic solvers for Stratonovich SDEs
  • Full adjoint support for Ito and Stratonovich SDEs for all noise types declared in the codebase
  • Various Python performance enhancements

v0.1.1

28 Jul 01:50
Compare
Choose a tag to compare
  • Add new Brownian motion classes with faster query speed based on PyTorch C++ API.
    • The new Brownian motion classes have the same API as existing ones, so they serve as direct replacements.
    • Importing these classes is as simple as from torchsde.brownian_lib import BrownianPath, BrownianTree.
    • The old Brownian motion classes written in pure Python are not yet deprecated, and likely won't be deprecated in the near future.
  • Add type hints for functions of the public API.

v0.1.0

08 Jul 19:09
Compare
Choose a tag to compare

This codebase provides stochastic differential equation (SDE) solvers with GPU support and efficient sensitivity analysis.