File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,22 +70,11 @@ p_test = [4.0, 3.0]
7070 @test isapprox (fwd, fd, rtol = 0.05 )
7171 end
7272
73- # Enzyme through Tuple-based SCCNonlinearProblem now works reliably on
74- # Julia 1.10 (verified across 40+ consecutive runs with the current
75- # SCCNonlinearSolve, NonlinearSolveBase, and Enzyme releases). On Julia
76- # 1.11+, Enzyme still hits an `IllegalTypeAnalysisException` on
77- # `Base._typed_vcat!` inside SCCNonlinearSolve's solution assembly,
78- # which segfaults the worker process — gate the test on the LTS until
79- # the upstream Enzyme/NonlinearSolve issues are fixed.
8073 # Vector-based SCC remains unsupported because heterogeneous function
8174 # types get erased to Any. See Enzyme.jl#3021.
8275 @testset " Enzyme" begin
83- if VERSION < v " 1.11"
84- enz = Enzyme. gradient (Enzyme. Reverse, loss, copy (p_test))
85- @test isapprox (collect (enz[1 ]), fd, rtol = 0.05 )
86- else
87- @test_skip true
88- end
76+ enz = Enzyme. gradient (Enzyme. Reverse, loss, copy (p_test))
77+ @test isapprox (collect (enz[1 ]), fd, rtol = 0.05 )
8978 end
9079
9180 @testset " Mooncake" begin
You can’t perform that action at this time.
0 commit comments