LoadError when using interpolations as input for a neural ode

Yeah… try ]add DiffEqSensitivity@6.52 and see what that spits out.

Threw another error:


(@v1.5) pkg> add DiffEqSensitivity@6.52
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Enzyme [7da242da]:
 Enzyme [7da242da] log:
 ├─possible versions are: [0.1.0, 0.2.0-0.2.1, 0.3.0-0.3.2, 0.4.0-0.4.1, 0.5.0-0.5.2, 0.6.0] or 
uninstalled
 ├─restricted by julia compatibility requirements to versions: [0.1.0, 0.2.0-0.2.1, 0.3.0-0.3.2] or uninstalled
 └─restricted by compatibility requirements with DiffEqSensitivity [41bf760c] to versions: 0.6.0 — no versions left
   └─DiffEqSensitivity [41bf760c] log:
     ├─possible versions are: [2.0.0, 2.1.0-2.1.1, 2.2.0, 2.3.0, 2.4.0, 3.0.0-3.0.2, 3.1.0, 3.2.0-3.2.4, 3.3.0-3.3.2, 4.0.0-4.0.1, 4.1.0-4.1.3, 4.2.0, 4.3.0, 4.4.0, 5.0.0, 5.1.0-5.1.3, 6.0.0-6.0.1, 6.1.0, 6.2.0, 6.3.0, 6.4.0, 6.5.0-6.5.3, 6.6.0-6.6.2, 6.7.0-6.7.2, 6.8.0, 6.9.0, 6.10.0-6.10.3, 6.11.0, 6.12.0, 6.13.0, 6.14.0-6.14.2, 6.15.0, 6.16.0, 6.17.0, 6.18.0, 6.19.0-6.19.3, 6.20.0, 6.21.0-6.21.1, 6.22.0, 6.23.0-6.23.1, 6.24.0, 6.25.0, 6.26.0, 6.27.0, 6.28.0, 6.29.0-6.29.2, 6.30.0, 6.31.0-6.31.6, 6.32.0-6.32.1, 6.33.0, 6.34.0, 6.35.0, 6.36.0, 6.37.0-6.37.1, 6.38.0, 6.39.0, 6.40.0, 6.41.0, 6.42.0, 6.43.0-6.43.2, 6.44.0-6.44.2, 6.45.0, 6.46.0, 6.47.0, 6.48.0, 6.49.0-6.49.1, 6.50.0-6.50.2, 6.51.0, 6.52.0] or uninstalled
     └─restricted to versions 6.52 by an explicit requirement, leaving only versions 6.52.0

notabene: I also tried

add DiffEqSensitivity@6.52.0

didn’t help either :confused:

Enzyme.jl/Project.toml at main · EnzymeAD/Enzyme.jl · GitHub That would do it. Let me talk with Billy on whether that’s fundamental. I would recommend upgrading to v1.6 anyways, but this update looks to have an accidental version bound that was missed.

Update and you should get v6.52.1 which should fix your issue, and the next releases will require v1.6. Sorry about this!

I just upgraded Julia to v1.6 and now everything works well :smiley:

I’ll mark the suggestion by @patrick-kidger as the solution to this thread since it solved the original problem with the interpolation.

Thanks so much for the help with the interpolation and that version mess!