ci: update github actions & fix UndefVarError #432
Annotations
3 errors
|
Documentation:
docs/src/index.md#L114
doctest failure in src/index.md:114-123
```jldoctest ex
julia> test_scalar(relu, 0.5);
Test Summary: | Pass Total Time
test_scalar: relu at 0.5 | 12 12 1.2s
julia> test_scalar(relu, -0.5);
Test Summary: | Pass Total Time
test_scalar: relu at -0.5 | 12 12 0.0s
```
Subexpression:
test_scalar(relu, -0.5);
Evaluated output:
Test Summary: | Pass Total Time
test_scalar: relu at -0.5 | 11 11 0.0s
Expected output:
Test Summary: | Pass Total Time
test_scalar: relu at -0.5 | 12 12 0.0s
diff =
Warning: Diff output requires color.
Test Summary: | Pass Total Time
test_scalar: relu at -0.5 | 12 12 11 11 0.0s
|
|
Documentation:
docs/src/index.md#L114
doctest failure in src/index.md:114-123
```jldoctest ex
julia> test_scalar(relu, 0.5);
Test Summary: | Pass Total Time
test_scalar: relu at 0.5 | 12 12 1.2s
julia> test_scalar(relu, -0.5);
Test Summary: | Pass Total Time
test_scalar: relu at -0.5 | 12 12 0.0s
```
Subexpression:
test_scalar(relu, 0.5);
Evaluated output:
Test Summary: | Pass Total Time
test_scalar: relu at 0.5 | 11 11 0.9s
Expected output:
Test Summary: | Pass Total Time
test_scalar: relu at 0.5 | 12 12 1.2s
diff =
Warning: Diff output requires color.
Test Summary: | Pass Total Time
test_scalar: relu at 0.5 | 12 12 1.2s11 11 0.9s
|
|
Documentation:
docs/src/index.md#L81
doctest failure in src/index.md:81-88
```jldoctest ex
julia> test_rrule(two2three, 3.33, -7.77);
test_rrule: two2three on Float64,Float64: Test Failed at /home/lior/.julia/dev/ChainRulesTestUtils/src/check_result.jl:24
Expression: isapprox(actual, expected; kwargs...)
Problem: cotangent for input 2, Float64
Evaluated: isapprox(-4.032, -3.840000000001641; rtol = 1.0e-9, atol = 1.0e-9)
[...]
```
Subexpression:
test_rrule(two2three, 3.33, -7.77);
Evaluated output:
test_rrule: two2three on Float64,Float64: Test Failed at /home/runner/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/check_result.jl:24
Expression:
Problem: cotangent for input 2, Float64
Evaluated:
Stacktrace:
[1] record(ts::Test.DefaultTestSet, t::Union{Test.Error, Test.Fail}; print_result::Bool)
@ Test /opt/hostedtoolcache/julia/1.10.9/x64/share/julia/stdlib/v1.10/Test/src/Test.jl:1085
[2] record
@ /opt/hostedtoolcache/julia/1.10.9/x64/share/julia/stdlib/v1.10/Test/src/Test.jl:1078 [inlined]
[3] do_test(result::Test.ExecutionResult, orig_expr::Any)
@ Test /opt/hostedtoolcache/julia/1.10.9/x64/share/julia/stdlib/v1.10/Test/src/Test.jl:705
[4] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...)
@ ChainRulesTestUtils ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/check_result.jl:24
[5] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...)
@ ChainRulesTestUtils ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/testers.jl:312
[6] (::ChainRulesTestUtils.var"#65#70"{Bool, @NamedTuple{rtol::Float64, atol::Float64}})(::Any, ::Vararg{Any})
@ ChainRulesTestUtils ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/testers.jl:236
[7] #64
@ ./tuple.jl:628 [inlined]
[8] BottomRF
@ ./reduce.jl:86 [inlined]
[9] _foldl_impl
@ ./reduce.jl:62 [inlined]
[10] foldl_impl
@ ./reduce.jl:48 [inlined]
[11] mapfoldl_impl(f::typeof(identity), op::Base.var"#64#65"{ChainRulesTestUtils.var"#65#70"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Float64, Float64}, Tuple{ChainRulesCore.NoTangent, Float64, Float64}, Tuple{ChainRulesCore.NoTangent, Float64, Float64}, Tuple{String, String, String}}})
@ Base ./reduce.jl:44
[12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Float64, Float64}, Tuple{ChainRulesCore.NoTangent, Float64, Float64}, Tuple{ChainRulesCore.NoTangent, Float64, Float64}, Tuple{String, String, String}}}; init::Nothing)
@ Base ./reduce.jl:175
[13] mapfoldl
@ ./reduce.jl:175 [inlined]
[14] #foldl#299
@ ./reduce.jl:198 [inlined]
[15] foreach(::Function, ::Tuple{ChainRulesCore.NoTangent, Float64, Float64}, ::Tuple{ChainRulesCore.NoTangent, Float64, Float64}, ::Vararg{Tuple})
@ Base ./tuple.jl:628
[16] macro expansion
@ ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/testers.jl:235 [inlined]
[17] macro expansion
@ /opt/hostedtoolcache/julia/1.10.9/x64/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[18] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}; output_tangent::Any, check_thunked_output_tangent::Any, fdm::Any, rrule_f::Any, check_inferred::Bool, fkwargs::NamedTuple, rtol::Real, atol::Real, testset_name::Any, kwargs...)
@ ChainRulesTestUtils ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/testers.jl:205
[19] test_rrule
@ ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/testers.jl:181 [inlined]
[20] #test_rrule#62
@ ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/testers.jl:178 [inlined]
[21] test_rrule(::Any, ::Any, ::Any)
@ ChainRulesTestUtils ~/work/ChainRulesTestUtils.jl/ChainRulesTestUtils.jl/src/testers.jl:177
[22] top-level scope
@ none:1
[23] eval
@ ./boot.jl:385 [inlined]
[24] #5
@ ~/.julia/packages/Documenter/bYYzK/src/DocTests.jl:245 [inlined]
[25] (::IOCaptur
|