Skip to content

Commit

Permalink
Deactivate inference checks in test_rrule
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Nov 10, 2023
1 parent 7c9e2fc commit d4b00c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/systematic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ function test_implicit_rrule(rc, x::AbstractArray{T}; kwargs...) where {T}
end

@testset "ChainRulesTestUtils" begin
test_rrule(rc, imf1, x; atol=1e-2)
test_rrule(rc, imf2, x; atol=5e-2, output_tangent=(dy, 0)) # see issue https://github.com/gdalle/ImplicitDifferentiation.jl/issues/112
test_rrule(rc, imf3, x, 1; atol=1e-2)
test_rrule(rc, imf4, x; atol=1e-2, fkwargs=(p=1,))
test_rrule(rc, imf1, x; atol=1e-2, check_inferred=false)
test_rrule(rc, imf2, x; atol=5e-2, output_tangent=(dy, 0), check_inferred=false) # see issue https://github.com/gdalle/ImplicitDifferentiation.jl/issues/112
test_rrule(rc, imf3, x, 1; atol=1e-2, check_inferred=false)
test_rrule(rc, imf4, x; atol=1e-2, fkwargs=(p=1,), check_inferred=false)
end
end

Expand Down

0 comments on commit d4b00c4

Please sign in to comment.