@@ -36,6 +36,9 @@ Test.@testset "Smoke Tests" begin
3636 ContinuousNormalizingFlows. LuxVecJacMatrixMode (ADTypes. AutoZygote ()),
3737 ContinuousNormalizingFlows. DIVecJacVectorMode (ADTypes. AutoZygote ()),
3838 ContinuousNormalizingFlows. DIVecJacMatrixMode (ADTypes. AutoZygote ()),
39+ ContinuousNormalizingFlows. LuxJacVecMatrixMode (ADTypes. AutoForwardDiff ()),
40+ ContinuousNormalizingFlows. DIJacVecVectorMode (ADTypes. AutoForwardDiff ()),
41+ ContinuousNormalizingFlows. DIJacVecMatrixMode (ADTypes. AutoForwardDiff ()),
3942 ContinuousNormalizingFlows. DIVecJacVectorMode (
4043 ADTypes. AutoEnzyme (;
4144 mode = Enzyme. set_runtime_activity (Enzyme. Reverse),
@@ -60,9 +63,6 @@ Test.@testset "Smoke Tests" begin
6063 function_annotation = Enzyme. Const,
6164 ),
6265 ),
63- ContinuousNormalizingFlows. LuxJacVecMatrixMode (ADTypes. AutoForwardDiff ()),
64- ContinuousNormalizingFlows. DIJacVecVectorMode (ADTypes. AutoForwardDiff ()),
65- ContinuousNormalizingFlows. DIJacVecMatrixMode (ADTypes. AutoForwardDiff ()),
6666 ]
6767
6868 Test. @testset " $device | $data_type | $compute_mode | ndata = $ndata | nvars = $nvars | inplace = $inplace | cond = $cond | planar = $planar | $omode | $mt " for device in
@@ -194,8 +194,12 @@ Test.@testset "Smoke Tests" begin
194194 Test. @test ! isnothing (rand (d, ndata))
195195
196196 Test. @testset " $adtype on loss" for adtype in adtypes
197- Test. @test ! isnothing (DifferentiationInterface. gradient (diff_loss, adtype, ps))
198- Test. @test ! isnothing (DifferentiationInterface. gradient (diff2_loss, adtype, r))
197+ Test. @test ! isnothing (DifferentiationInterface. gradient (diff_loss, adtype, ps)) broken =
198+ GROUP != " All" &&
199+ compute_mode. adback isa ADTypes. AutoEnzyme{<: Enzyme.ForwardMode }
200+ Test. @test ! isnothing (DifferentiationInterface. gradient (diff2_loss, adtype, r)) broken =
201+ GROUP != " All" &&
202+ compute_mode. adback isa ADTypes. AutoEnzyme{<: Enzyme.ForwardMode }
199203
200204 Test. @testset " $n_epochs for fit" for n_epochs in n_epochs_
201205 if cond
0 commit comments