-
-
Notifications
You must be signed in to change notification settings - Fork 46
Exclude Enzyme from pre-release tests #644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -9,11 +9,23 @@ end | |||
using LineSearches: LineSearches | |||
using BenchmarkTools: @ballocated | |||
using StaticArrays: @SVector | |||
using Zygote, Enzyme, ForwardDiff, FiniteDiff | |||
using Zygote, ForwardDiff, FiniteDiff | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
@@ -9,11 +9,23 @@ end | |||
using LineSearches: LineSearches | |||
using BenchmarkTools: @ballocated | |||
using StaticArrays: @SVector | |||
using Zygote, Enzyme, ForwardDiff, FiniteDiff | |||
using Zygote, ForwardDiff, FiniteDiff | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
using SciMLJacobianOperators | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
@@ -1,6 +1,12 @@ | |||
@testsnippet RootfindTestSnippet begin | |||
using StaticArrays, Random, LinearAlgebra, ForwardDiff, NonlinearSolveBase, SciMLBase | |||
using ADTypes, PolyesterForwardDiff, Enzyme, ReverseDiff | |||
using ADTypes, PolyesterForwardDiff, ReverseDiff | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
using Zygote, ForwardDiff, FiniteDiff | ||
|
||
# Conditionally import Enzyme only if not on Julia prerelease | ||
if isempty(VERSION.prerelease) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | |
if isempty(VERSION.prerelease) |
if isempty(VERSION.prerelease) | ||
push!(autodiff_backends, AutoEnzyme()) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
@@ -93,14 +104,25 @@ | |||
using ADTypes, Random, LinearSolve, LinearAlgebra | |||
using BenchmarkTools: @ballocated | |||
using StaticArrays: @SVector | |||
using Zygote, Enzyme, ForwardDiff, FiniteDiff | |||
using Zygote, ForwardDiff, FiniteDiff | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
using Zygote, ForwardDiff, FiniteDiff | ||
|
||
# Conditionally import Enzyme only if not on Julia prerelease | ||
if isempty(VERSION.prerelease) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | |
if isempty(VERSION.prerelease) |
if isempty(VERSION.prerelease) | ||
push!(autodiff_backends, AutoEnzyme()) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
using SciMLJacobianOperators | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
using SciMLJacobianOperators | ||
|
||
# Conditionally import Enzyme only if not on Julia prerelease | ||
if isempty(VERSION.prerelease) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | |
if isempty(VERSION.prerelease) |
using SciMLJacobianOperators | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
using SciMLJacobianOperators | ||
|
||
# Conditionally import Enzyme only if not on Julia prerelease | ||
if isempty(VERSION.prerelease) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | |
if isempty(VERSION.prerelease) |
if isempty(VERSION.prerelease) | ||
push!(autodiff_backends, AutoEnzyme()) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | ||
push!(autodiff_backends, AutoEnzyme()) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
@@ -84,9 +95,21 @@ | |||
using LineSearches: LineSearches | |||
using BenchmarkTools: @ballocated | |||
using StaticArrays: @SVector | |||
using Zygote, Enzyme, ForwardDiff, FiniteDiff | |||
using Zygote, ForwardDiff, FiniteDiff | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | ||
push!(autodiff_backends, (AutoEnzyme(), "no jac - enzyme")) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | ||
push!(autodiff_backends, AutoEnzyme()) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if isempty(VERSION.prerelease) | ||
push!(autodiff_backends, AutoEnzyme()) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
@@ -157,9 +179,21 @@ | |||
using LineSearches: LineSearches | |||
using BenchmarkTools: @ballocated | |||
using StaticArrays: @SVector | |||
using Zygote, Enzyme, ForwardDiff, FiniteDiff | |||
using Zygote, ForwardDiff, FiniteDiff | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
if !is_julia_prerelease() | ||
push!(autodiff_backends, AutoEnzyme()) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
No description provided.