Skip to content

Instantly share code, notes, and snippets.

Working from home


Working from home
View GitHub Profile
azev77 / torchdiffeq (Python) vs DifferentialEquations.jl (Julia) ODE Benchmarks

Torchdiffeq vs DifferentialEquations.jl (/ DiffEqFlux.jl) Benchmarks

Benchmark: Solve the Lorenz equations from 0 to 100 with abstol=reltol=1e-8

Absolute Timings

  • DifferentialEquations.jl: 1.675 ms
  • diffeqpy (DifferentialEquations.jl called from Python): 3.473 ms
  • SciPy+Numba: 50.99 ms
  • SciPy: 110.6 ms