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
{{ message }}
Repository navigation
AD on Julia 1.12: doubled Enzyme gradient through a symmetric sparse coupling, and the NoAdjoint table cut #1038
Enzyme reverse gives twice the ForwardDiff gradient for a Symmetric(sparse(...)) coupling on Julia 1.12, and the NoAdjoint table-cut scenario fires the rule.
Both surfaced once the AD versions and Threads compat-floor legs moved from 1.11 to 1.12, because the 1.11 legs had been failing at instantiate since the floor change.
Suspected cause. The doubled gradient is in the "named container 2" test added with the silent plain-AD change: plain Enzyme reverse through Symmetric(sparse([θ[1] 0.1; 0.1 θ[2]])).
Both entries come out exactly doubled, which looks like the known Enzyme fault on a repeated sparse mul! in #964.
The table-cut failure is #1034, which has a fix on claude/noadjoint-table-cut with no PR yet.
enzyme_reverse registry (Julia 1.12) and mooncake_reverse registry (Julia 1.12): test/ad/checks.jl:122, "NoAdjoint Convolution lag contributions of a table cut at a report day: no rule fires", fired == rule evaluated true == false.
Threads ad (Julia 1.12, registry) also failed. GitHub returned 502 on its log, so its failure was not read; it runs the same registry compat_floor items, so it is likely the table-cut case.
The scheduled AD versions run on main of 30 November passed both 1.12 legs, before the plain-AD change and the table-cut scenario landed.
This was opened by a bot. Please ping @seabbs for any questions.
Both parts are fixed on main. The NoAdjoint table cut by #1049, and the doubled Enzyme gradient by #1052, which marks it broken on Julia 1.12 only because the bug is Enzyme's (reproducer on #931).
Activity
Mark the Symmetric sparse named container broken under Enzyme on 1.12 (…
seabbs-bot commentedon Dec 4, 2026
Both parts are fixed on main. The NoAdjoint table cut by #1049, and the doubled Enzyme gradient by #1052, which marks it broken on Julia 1.12 only because the bug is Enzyme's (reproducer on #931).