Closed albertomercurio closed 4 months ago
@oscardssmith could I get help with this? I think it's from the views I added to fix the adjoint floating point issues, but the views should be... fine?
I think the problem here is the fun closure capture performance bug.
This is now fixed On DiffEqCallbacks
version 3.1, this gives (9.06 k allocations: 1.926 MiB) and with https://github.com/SciML/DiffEqCallbacks.jl/pull/212, we're at (10.07 k allocations: 1.946 MiB).
That's a typo right?
no 3.1 had 9k allocations, 3.2 had 26k allocations, and main has 10k.
Describe the example
I get a lot of memory allocations, never obtained before v3.2.0
Minimal Reproducible Example 👇