Watch EnzymeAD/Enzyme.jl#2986
|
# We have to skip Enzyme and Mooncake on Windows because of |
|
# https://github.com/EnzymeAD/Enzyme.jl/issues/2986 and |
|
# https://github.com/EnzymeAD/Enzyme.jl/issues/2962 |
|
# This could probably test for Julia 1.12 as well, but we'll |
|
# see how it goes with Windows support first. Also note |
|
# that `ADTypes` could be removed from this file and |
|
# Project.toml once Windows is fixed. |
|
backends = [ |
|
Sys.iswindows() ? ADTypes.AbstractADType[] : [AutoEnzyme()]; |
|
# AutoFastDifferentiation(); # see below; has to wait for conditionals support |
|
AutoFiniteDifferences(fdm=FiniteDifferences.central_fdm(3,1)); |
|
AutoForwardDiff(); |
|
Sys.iswindows() ? ADTypes.AbstractADType[] : [AutoMooncake(config=nothing)]; |
|
AutoReverseDiff(); |
|
AutoZygote(); # Fails with incorrect results when return type is Quaternionic |
|
AutoChainRules(Zygote.ZygoteRuleConfig()); # Same as above |
|
] |
Watch EnzymeAD/Enzyme.jl#2986
Quaternionic.jl/test/differentiation_interface.jl
Lines 10 to 26 in a9a54b3