Skip to content

Instantly share code, notes, and snippets.

View niranjanaryan's full-sized avatar
🤿
Deeply Involved

Niranjan Anandkumar niranjanaryan

🤿
Deeply Involved
View GitHub Profile
@niranjanaryan
niranjanaryan / neural_ode_benchmarks.md
Created April 29, 2024 07:30 — forked from ChrisRackauckas/neural_ode_benchmarks.md
torchdiffeq vs Julia DiffEqflux Neural ODE Training Benchmark

torchdiffeq vs Julia DiffEqFlux Neural ODE Training Benchmark

The spiral neural ODE was used as the training benchmark for both torchdiffeq (Python) and DiffEqFlux (Julia) which utilized the same architecture and 500 steps of ADAM. Both achived similar objective values at the end. Results:

  • DiffEqFlux defaults: 7.4 seconds
  • DiffEqFlux optimized: 2.7 seconds
  • torchdiffeq: 288.965871299999 seconds