Skip to content

Instantly share code, notes, and snippets.

View azev77's full-sized avatar
🏠
Working from home

azev77

🏠
Working from home
View GitHub Profile
@azev77
azev77 / diffeqflux_differentialequations_vs_torchdiffeq_results.md 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