Skip to content

Exclude Enzyme from pre-release tests#644

Merged
ChrisRackauckas merged 12 commits into
masterfrom
pre_enzyme
Jul 19, 2025
Merged

Exclude Enzyme from pre-release tests#644
ChrisRackauckas merged 12 commits into
masterfrom
pre_enzyme

Conversation

@ChrisRackauckas
Copy link
Copy Markdown
Member

No description provided.

using StaticArrays: @SVector
using Zygote, Enzyme, ForwardDiff, FiniteDiff
using Zygote, ForwardDiff, FiniteDiff

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using StaticArrays: @SVector
using Zygote, Enzyme, ForwardDiff, FiniteDiff
using Zygote, ForwardDiff, FiniteDiff

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using Enzyme, Zygote, ForwardDiff, FiniteDiff, ReverseDiff, Tracker
using Zygote, ForwardDiff, FiniteDiff, ReverseDiff, Tracker
using SciMLJacobianOperators

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using StaticArrays, Random, LinearAlgebra, ForwardDiff, NonlinearSolveBase, SciMLBase
using ADTypes, PolyesterForwardDiff, Enzyme, ReverseDiff
using ADTypes, PolyesterForwardDiff, ReverseDiff

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using Zygote, ForwardDiff, FiniteDiff

# Conditionally import Enzyme only if not on Julia prerelease
if isempty(VERSION.prerelease)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
if isempty(VERSION.prerelease)
if isempty(VERSION.prerelease)

if isempty(VERSION.prerelease)
push!(autodiff_backends, AutoEnzyme())
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using StaticArrays: @SVector
using Zygote, Enzyme, ForwardDiff, FiniteDiff
using Zygote, ForwardDiff, FiniteDiff

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using Zygote, ForwardDiff, FiniteDiff

# Conditionally import Enzyme only if not on Julia prerelease
if isempty(VERSION.prerelease)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
if isempty(VERSION.prerelease)
if isempty(VERSION.prerelease)

if isempty(VERSION.prerelease)
push!(autodiff_backends, AutoEnzyme())
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using Enzyme, ForwardDiff, FiniteDiff, ReverseDiff
using ForwardDiff, FiniteDiff, ReverseDiff
using SciMLJacobianOperators

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using SciMLJacobianOperators

# Conditionally import Enzyme only if not on Julia prerelease
if isempty(VERSION.prerelease)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
if isempty(VERSION.prerelease)
if isempty(VERSION.prerelease)

using Enzyme, ForwardDiff, FiniteDiff, ReverseDiff, Zygote, Tracker
using ForwardDiff, FiniteDiff, ReverseDiff, Zygote, Tracker
using SciMLJacobianOperators

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using SciMLJacobianOperators

# Conditionally import Enzyme only if not on Julia prerelease
if isempty(VERSION.prerelease)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
if isempty(VERSION.prerelease)
if isempty(VERSION.prerelease)

if isempty(VERSION.prerelease)
push!(autodiff_backends, AutoEnzyme())
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
Comment thread lib/NonlinearSolveHomotopyContinuation/test/single_root.jl Outdated
Comment thread lib/NonlinearSolveFirstOrder/test/rootfind_tests.jl Outdated
Comment thread lib/NonlinearSolveQuasiNewton/test/core_tests.jl Outdated
if isempty(VERSION.prerelease)
push!(autodiff_backends, AutoEnzyme())
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using StaticArrays: @SVector
using Zygote, Enzyme, ForwardDiff, FiniteDiff
using Zygote, ForwardDiff, FiniteDiff

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

if isempty(VERSION.prerelease)
push!(autodiff_backends, (AutoEnzyme(), "no jac - enzyme"))
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

if isempty(VERSION.prerelease)
push!(autodiff_backends, AutoEnzyme())
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

if isempty(VERSION.prerelease)
push!(autodiff_backends, AutoEnzyme())
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

using StaticArrays: @SVector
using Zygote, Enzyme, ForwardDiff, FiniteDiff
using Zygote, ForwardDiff, FiniteDiff

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

if !is_julia_prerelease()
push!(autodiff_backends, AutoEnzyme())
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

@ChrisRackauckas ChrisRackauckas merged commit 69f10db into master Jul 19, 2025
70 of 93 checks passed
@ChrisRackauckas ChrisRackauckas deleted the pre_enzyme branch July 19, 2025 22:17
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.

1 participant