Skip to content

Re-enable Enzyme AD tests on Julia 1.12+#1088

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:reenable-enzyme-1.12
Jul 13, 2026
Merged

Re-enable Enzyme AD tests on Julia 1.12+#1088
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:reenable-enzyme-1.12

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

Fixes #1087 (and closes #817). Enzyme.jl now supports Julia 1.12, so the version guard that skipped the Enzyme derivative-rule tests on Julia >= 1.12 is removed. The AD group still skips on prerelease Julia versions (some AD backends lag behind Julia prereleases).

Change

test/runtests.jl: removed the if VERSION < v"1.12.0-" guard around @safetestset "Enzyme Derivative Rules" include("AD/enzyme.jl"), and updated the surrounding comment.

Verification

Ran the full test/AD/enzyme.jl suite locally on Julia 1.12.6 with Enzyme 0.13. All assertions pass:

Symmetric BunchKaufman reverse |    1      1
Hermitian reverse              |    2      2
UpperTriangular reverse        |    2      2
LowerTriangular reverse        |    2      2
UnitUpperTriangular reverse    |    2      2
UnitLowerTriangular reverse    |    2      2
Diagonal reverse               |    2      2
Bidiagonal reverse             |    2      2
Tridiagonal reverse            |    2      2
SymTridiagonal reverse         |    2      2
alg = LUFactorization  (fwd)   |    2      2
alg = RFLUFactorization (fwd)  |    2      2

plus the top-level bare @test reverse/batch/caching checks (script exits 0 with no failures).


Please ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

Enzyme.jl now supports Julia 1.12, so the version guard that skipped the
Enzyme derivative-rule tests on Julia >= 1.12 is no longer needed. The AD
group still skips on prerelease Julia versions.

Verified locally: `test/AD/enzyme.jl` passes in full on Julia 1.12.6 with
Enzyme 0.13.

Closes SciML#817, SciML#1087.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 13, 2026 20:57
@ChrisRackauckas
ChrisRackauckas merged commit 6487e3d into SciML:main Jul 13, 2026
52 of 59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run Enzyme on 1.12 Enzyme tests disabled on Julia 1.12+ due to compatibility issues

2 participants