You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DI second-order tests fail (CI run). The failure pattern is inconsistent with an out-of-memory condition. Instead, Mooncake likely encounters an opaque-closure bug in Julia 1.11. The issue is resolved when transitioning to Julia 1.12.
One can modify MistyClosure to carry a back reference of the original Julia method so we can re-derive rules in the current world age, instead of the heuristic. Re-deriving rules would, in theory, be the right thing to do.
The following misty closure heuristic appears to introduce genuine problems, likely limited to Julia 1.11:
Mooncake.jl/src/rules/misty_closures.jl
Lines 20 to 38 in f937521
Some examples:
DI second-order tests fail (CI run). The failure pattern is inconsistent with an out-of-memory condition. Instead, Mooncake likely encounters an opaque-closure bug in Julia 1.11. The issue is resolved when transitioning to Julia 1.12.DontPrepareInner()) triggers a world-age error (issue discussion). This is fixed by Fix inner preparation behavior for Mooncake JuliaDiff/DifferentiationInterface.jl#948.