-
-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Summary
When using DifferentiationInterface.gradient with AutoZygote() backend on remake-based loss functions (using SciMLSensitivity with ZygoteVJP()), the tests fail.
Context
This was discovered during the migration from direct AD backend usage to DifferentiationInterface in PR #1206. The following test patterns fail with Zygote:
- Basic remake autodiff: gradient of sum of solution w.r.t.
u0andp - Symbolic indexing autodiff: gradient of
sum(soln[x])w.r.t.u0andp - Symbolic indexing observed autodiff: gradient of
sum(soln[o, i])w.r.t.u0andp
Affected Files
test/downstream/remake_autodiff.jl
Current Status
Tests are marked as @test_broken in PR #1206 until this is resolved.
Related
These tests use BacksolveAdjoint(autojacvec = ZygoteVJP()) from SciMLSensitivity, so this may be related to how DifferentiationInterface interacts with SciMLSensitivity's Zygote extension.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels