Skip to content

Commit

Permalink
test: minor test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Sep 6, 2024
1 parent 5afdd5a commit c548e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/autodiff/nested_autodiff_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function test_nested_ad_input_gradient_jacobian(aType, dev, ongpu, loss_fn, X, m

allow_unstable() do
test_gradients((x, ps) -> loss_fn(model, x, ps, st), X, ps;
atol=1.0f-3, rtol=1.0f-1, soft_fail=[AutoForwardDiff()],
atol=1.0f-2, rtol=1.0f-1, soft_fail=[AutoForwardDiff()],
skip_backends=[AutoReverseDiff(), AutoTracker(), AutoEnzyme()])
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/layers/pooling_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
continue
end

broken_backends = ltype == :LPPool ? [AutoTracker()] : []
broken_backends = ltype == :LPPool ? [AutoTracker(), AutoEnzyme()] : []

adaptive_ltype = Symbol(:Adaptive, ltype)
global_ltype = Symbol(:Global, ltype)
Expand Down

0 comments on commit c548e64

Please sign in to comment.