Skip to content

Enable Enzyme SCC test on Julia 1.11+ (Enzyme 0.13.148)#1449

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:cc/enable-scc-enzyme-1.12
May 21, 2026
Merged

Enable Enzyme SCC test on Julia 1.11+ (Enzyme 0.13.148)#1449
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:cc/enable-scc-enzyme-1.12

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Please ignore until reviewed by @ChrisRackauckas.

Summary

test/scc_nonlinearsolve.jl's Enzyme testset was gated on VERSION < v"1.11" because of an IllegalTypeAnalysisException / SCCNonlinearProblem-worker segfault on Julia 1.11+. Enzyme 0.13.148 (released 2026-05-21) closes EnzymeAD/Enzyme.jl#3026 which fixes it.

Locally verified on Julia 1.12.6 + Enzyme 0.13.148: Enzyme.gradient over the Tuple-based SCC loss returns the correct gradient (matches FiniteDiff to 5% as the existing rtol expects). Full file: 8/8 passing (was 7 Pass / 1 Broken).

Refs

Test plan

  • test/scc_nonlinearsolve.jl passes 8/8 on Julia 1.12.6 locally
  • Runic.jl clean
  • CI green

The IllegalTypeAnalysisException / SCCNonlinearProblem segfault that
gated this test on `VERSION < v"1.11"` is fixed in Enzyme 0.13.148
(closes EnzymeAD/Enzyme.jl#3026). Verified `Enzyme.gradient` over the
SCC loss returns the correct gradient on Julia 1.12.6.

Leaves the comment about the vector-based SCC heterogeneous-function
limitation (Enzyme.jl#3021) since that's a separate API question, not
a Julia-version issue.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review May 21, 2026 11:15
@ChrisRackauckas ChrisRackauckas merged commit 3ccfeb6 into SciML:master May 21, 2026
43 of 50 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.

Intermittent GC segfault during compilation with SCCNonlinearProblem + custom rule

2 participants