Package evaluation of InvariantPointAttention on Julia 1.13.0-DEV.974 (7bbb213719*) started at 2025-08-14T21:59:09.731 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.98s ################################################################################ # Installation # Installing InvariantPointAttention... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [814a5788] + InvariantPointAttention v0.1.5 Updating `~/.julia/environments/v1.13/Manifest.toml` [621f4979] + AbstractFFTs v1.5.0 [7d9f7c33] + Accessors v0.1.42 [79e6a3ab] + Adapt v4.3.0 [66dad0bd] + AliasTables v1.1.3 [dce04be8] + ArgCheck v2.5.0 [a9b6321e] + Atomix v1.1.2 [198e06fe] + BangBang v0.4.4 [9718e550] + Baselet v0.1.1 [082447d4] + ChainRules v1.72.5 [d360d2e6] + ChainRulesCore v1.26.0 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.18.0 [a33af91c] + CompositionsBase v0.1.2 [187b0558] + ConstructionBase v1.6.0 [6add18c4] + ContextVariablesX v0.1.3 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.0 [e2d170a0] + DataValueInterfaces v1.0.0 [244e2a9f] + DefineSingletons v0.1.2 [8bb1440f] + DelimitedFiles v1.9.1 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [ffbed154] + DocStringExtensions v0.9.5 [f151be2c] + EnzymeCore v0.8.12 [cc61a311] + FLoops v0.2.2 [b9860ae5] + FLoopsBase v0.1.1 [1a297f60] + FillArrays v1.13.0 [587475ba] + Flux v0.16.5 [f6369f11] + ForwardDiff v1.0.1 [d9f16b24] + Functors v0.5.2 [46192b85] + GPUArraysCore v0.2.0 [076d061b] + HashArrayMappedTries v0.2.0 [7869d1d1] + IRTools v0.4.15 [22cec73e] + InitialValues v0.3.1 [814a5788] + InvariantPointAttention v0.1.5 [3587e190] + InverseFunctions v0.1.17 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.1 [b14d175d] + JuliaVariables v0.2.4 [63c18a36] + KernelAbstractions v0.9.38 [2ab3a3ac] + LogExpFunctions v0.3.29 [c2834f40] + MLCore v1.0.0 [7e8f7934] + MLDataDevices v1.11.1 [d8e11817] + MLStyle v0.4.17 [f1d291b0] + MLUtils v0.4.8 [1914dd2f] + MacroTools v0.5.16 [128add7d] + MicroCollections v0.2.0 [e1d29d7a] + Missings v1.2.0 [872c559c] + NNlib v0.9.31 [77ba4419] + NaNMath v1.1.3 [71a1bf82] + NameResolution v0.1.5 [0b1bfda6] + OneHotArrays v0.2.10 [3bd65402] + Optimisers v0.4.6 [bac558e1] + OrderedCollections v1.8.1 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.5.0 [8162dcfd] + PrettyPrint v0.2.0 [33c8b6b6] + ProgressLogging v0.1.5 [43287f4e] + PtrArrays v1.3.0 [c1ae055f] + RealDot v0.1.0 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [7e506255] + ScopedValues v1.4.0 [efcf1570] + Setfield v1.1.2 [605ecd9f] + ShowCases v0.1.0 [699a6c99] + SimpleTraits v0.9.5 [a2af1166] + SortingAlgorithms v1.2.2 [dc90abb0] + SparseInverseSubset v0.1.2 [276daf66] + SpecialFunctions v2.5.1 [171d559e] + SplittablesBase v0.1.15 [90137ffa] + StaticArrays v1.9.14 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.6 [09ab397b] + StructArrays v0.7.1 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [28d57a85] + Transducers v0.4.84 [013be700] + UnsafeAtomics v0.3.0 [e88e6eb3] + Zygote v0.7.10 [700de1a5] + ZygoteRules v0.2.7 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.5+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [8e850b90] + libblastrampoline_jll v5.13.1+0 Installation completed after 5.03s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 36.16s ################################################################################ # Testing # Testing InvariantPointAttention Status `/tmp/jl_XHhdTS/Project.toml` [d360d2e6] ChainRulesCore v1.26.0 [cdddcdb0] ChainRulesTestUtils v1.13.0 [587475ba] Flux v0.16.5 [814a5788] InvariantPointAttention v0.1.5 [37e2e46d] LinearAlgebra v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_XHhdTS/Manifest.toml` [621f4979] AbstractFFTs v1.5.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.3.0 [66dad0bd] AliasTables v1.1.3 [dce04be8] ArgCheck v2.5.0 [a9b6321e] Atomix v1.1.2 [198e06fe] BangBang v0.4.4 [9718e550] Baselet v0.1.1 [082447d4] ChainRules v1.72.5 [d360d2e6] ChainRulesCore v1.26.0 [cdddcdb0] ChainRulesTestUtils v1.13.0 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.0 [a33af91c] CompositionsBase v0.1.2 [187b0558] ConstructionBase v1.6.0 [6add18c4] ContextVariablesX v0.1.3 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.0 [e2d170a0] DataValueInterfaces v1.0.0 [244e2a9f] DefineSingletons v0.1.2 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.5 [f151be2c] EnzymeCore v0.8.12 [cc61a311] FLoops v0.2.2 [b9860ae5] FLoopsBase v0.1.1 [1a297f60] FillArrays v1.13.0 [26cc04aa] FiniteDifferences v0.12.32 [587475ba] Flux v0.16.5 [f6369f11] ForwardDiff v1.0.1 [d9f16b24] Functors v0.5.2 [46192b85] GPUArraysCore v0.2.0 [076d061b] HashArrayMappedTries v0.2.0 [7869d1d1] IRTools v0.4.15 [22cec73e] InitialValues v0.3.1 [814a5788] InvariantPointAttention v0.1.5 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.1 [b14d175d] JuliaVariables v0.2.4 [63c18a36] KernelAbstractions v0.9.38 [2ab3a3ac] LogExpFunctions v0.3.29 [c2834f40] MLCore v1.0.0 [7e8f7934] MLDataDevices v1.11.1 [d8e11817] MLStyle v0.4.17 [f1d291b0] MLUtils v0.4.8 [1914dd2f] MacroTools v0.5.16 [128add7d] MicroCollections v0.2.0 [e1d29d7a] Missings v1.2.0 [872c559c] NNlib v0.9.31 [77ba4419] NaNMath v1.1.3 [71a1bf82] NameResolution v0.1.5 [0b1bfda6] OneHotArrays v0.2.10 [3bd65402] Optimisers v0.4.6 [bac558e1] OrderedCollections v1.8.1 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.5.0 [8162dcfd] PrettyPrint v0.2.0 [33c8b6b6] ProgressLogging v0.1.5 [43287f4e] PtrArrays v1.3.0 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [708f8203] Richardson v1.4.2 [7e506255] ScopedValues v1.4.0 [efcf1570] Setfield v1.1.2 [605ecd9f] ShowCases v0.1.0 [699a6c99] SimpleTraits v0.9.5 [a2af1166] SortingAlgorithms v1.2.2 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.5.1 [171d559e] SplittablesBase v0.1.15 [90137ffa] StaticArrays v1.9.14 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.6 [09ab397b] StructArrays v0.7.1 [fd094767] Suppressor v0.2.8 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [28d57a85] Transducers v0.4.84 [013be700] UnsafeAtomics v0.3.0 [e88e6eb3] Zygote v0.7.10 [700de1a5] ZygoteRules v0.2.7 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [8e850b90] libblastrampoline_jll v5.13.1+0 Testing Running tests... ┌ Warning: inference tests have been disabled └ @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/global_config.jl:13 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [11] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [9] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [9] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl @ ./reduce.jl:60 [inlined] [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [18] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [20] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [22] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [23] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [25] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [11] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [9] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [9] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl @ ./reduce.jl:60 [inlined] [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [18] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [20] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [22] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [23] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [25] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [11] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [9] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [9] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [5] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [6] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [7] #foreach##2 @ ./tuple.jl:680 [inlined] [8] BottomRF @ ./reduce.jl:84 [inlined] [9] _foldl_impl @ ./reduce.jl:60 [inlined] [10] foldl_impl @ ./reduce.jl:46 [inlined] [11] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [12] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [13] mapfoldl @ ./reduce.jl:173 [inlined] [14] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [15] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [16] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [18] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [19] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [20] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [22] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [23] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: softmax1 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #21 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [25] foreach(f::var"#21#22"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:233 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:235 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [8] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [9] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 3×2×1×2 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 3×3×1×2 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 3×1×1×2 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3 on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##1#T_R3_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##3#T_R3_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_pullback##5#T_R3_pullback##6"{Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:239 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:242 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [8] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [9] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [7] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 3×2×1×2 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 3×3×1×2 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 4, 3×1×1×2 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: T_R3_inv on Array{Float64, 4},Array{Float64, 4},Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl(op::Base.BottomRF{Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}}, init::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:60 [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, NTuple{4, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##3#T_R3_inv_pullback##4"{Array{Float64, 4}, Array{Float64, 4}}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##5#T_R3_inv_pullback##6"{ChainRulesCore.Thunk{InvariantPointAttention.var"#T_R3_inv_pullback##1#T_R3_inv_pullback##2"{Array{Float64, 4}, Array{Float64, 4}}}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule(::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] test_rrule(::Any, ::Vararg{Any}; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [23] test_rrule(::Any, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:246 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:249 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [11] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [9] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [9] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [inlined] [4] #test_approx#14 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [inlined] [5] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [25] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] _test_add!!_behaviour @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [25] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [11] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [9] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [9] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [inlined] [4] #test_approx#14 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [inlined] [5] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [25] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] _test_add!!_behaviour @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [25] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [11] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [9] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [9] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [inlined] [4] #test_approx#14 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [inlined] [5] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [25] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: sumabs2 on Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] _test_add!!_behaviour @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#9#10"{Array{Float64, 3}, Array{Float64, 3}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #23 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [25] foreach(f::var"#23#24"{Array{Float64, 3}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:253 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:254 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [11] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [9] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [9] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4×5 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [inlined] [4] #test_approx#14 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [inlined] [5] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [25] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] _test_add!!_behaviour @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [25] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [11] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [9] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [9] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4×5 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [inlined] [4] #test_approx#14 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [inlined] [5] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [25] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] _test_add!!_behaviour @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [25] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [10] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [11] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [12] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [16] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:489 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [21] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [9] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [8] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [9] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 2×3×4×5 Array{Float64, 4} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [inlined] [4] #test_approx#14 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [inlined] [5] test_approx @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [25] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: L2norm on Array{Float64, 4}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] _test_add!!_behaviour @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [inlined] [6] #_test_cotangent#74 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [inlined] [7] _test_cotangent @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [inlined] [8] #66 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [inlined] [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, Tuple{String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#15#16"{Array{Float64, 4}, Array{Float64, 4}, Array{Float64, 4}}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 4}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] test_rrule(config::ChainRulesCore.RuleConfig, f::Any, args::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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [inlined] [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] test_rrule @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [inlined] [24] #25 @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [25] foreach(f::var"#25#26"{Array{Float64, 4}}, itr::UnitRange{Int64}) @ Base ./abstractarray.jl:3202 [26] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:258 [inlined] [29] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [30] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:259 [inlined] [31] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [32] top-level scope @ none:6 [33] eval(m::Module, e::Any) @ Core ./boot.jl:489 [34] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [35] _start() @ Base ./client.jl:553 test_rrule: pair_diff on Array{Float64, 3},Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: Failed primal value check UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:216 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [7] kwcall(::NamedTuple, ::typeof(test_rrule), ::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [8] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [9] kwcall(::NamedTuple, ::typeof(test_rrule), ::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [10] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:263 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [14] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:265 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:489 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [19] _start() @ Base ./client.jl:553 test_rrule: pair_diff on Array{Float64, 3},Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 Test threw exception Expression: ad_cotangents isa Tuple Problem: The pullback must return a Tuple (∂self, ∂args...) UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:222 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] kwcall(::NamedTuple, ::typeof(test_rrule), ::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] kwcall(::NamedTuple, ::typeof(test_rrule), ::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:263 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:265 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pair_diff on Array{Float64, 3},Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 Test threw exception Expression: length(ad_cotangents) == length(primals) Problem: The pullback should return 1 cotangent for the primal and each primal input. UndefVarError: `eval_test_comparison` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:226 [inlined] [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [5] kwcall(::NamedTuple, ::typeof(test_rrule), ::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [6] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [7] kwcall(::NamedTuple, ::typeof(test_rrule), ::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [8] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:263 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:265 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 test_rrule: pair_diff on Array{Float64, 3},Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 2, 1×4×2 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_cotangent), accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [8] (::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}})(::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] kwcall(::NamedTuple, ::typeof(test_rrule), ::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] kwcall(::NamedTuple, ::typeof(test_rrule), ::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:263 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:265 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pair_diff on Array{Float64, 3},Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_cotangent), accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [8] (::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}})(::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] kwcall(::NamedTuple, ::typeof(test_rrule), ::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] kwcall(::NamedTuple, ::typeof(test_rrule), ::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:263 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:265 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pair_diff on Array{Float64, 3},Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: cotangent for input 3, 1×3×2 Array{Float64, 3} UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] test_approx(actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:38 [5] kwcall(::NamedTuple, ::typeof(test_approx), actual::ChainRulesCore.AbstractThunk, expected::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:37 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:312 [7] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_cotangent), accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [8] (::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}})(::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] kwcall(::NamedTuple, ::typeof(test_rrule), ::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] kwcall(::NamedTuple, ::typeof(test_rrule), ::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:263 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:265 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 test_rrule: pair_diff on Array{Float64, 3},Array{Float64, 3}: Error During Test at /home/pkgeval/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 Test threw exception Expression: isapprox(actual, expected; kwargs...) Problem: in add!! UndefVarError: `eval_test_function` not defined in `ChainRulesTestUtils` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] [2] test_approx(actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:24 [3] kwcall(::NamedTuple, ::typeof(test_approx), actual::Union{Number, AbstractArray{<:Number}}, expected::Union{Number, AbstractArray{<:Number}}, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:18 [4] _test_add!!_behaviour(acc::Any, val::Any; kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:188 [5] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_add!!_behaviour), acc::Any, val::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:183 [6] _test_cotangent(accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any; check_inferred::Any, kwargs...) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:313 [7] kwcall(::NamedTuple, ::typeof(ChainRulesTestUtils._test_cotangent), accum_cotangent::Any, ad_cotangent::Any, fd_cotangent::Any, msg::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:301 [8] (::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}})(::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:236 [9] #foreach##2 @ ./tuple.jl:680 [inlined] [10] BottomRF @ ./reduce.jl:84 [inlined] [11] _foldl_impl @ ./reduce.jl:60 [inlined] [12] foldl_impl @ ./reduce.jl:46 [inlined] [13] mapfoldl_impl(f::typeof(identity), op::Base.var"#foreach##2#foreach##3"{ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}}, nt::Nothing, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:42 [14] mapfoldl(f::Function, op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}; init::Nothing) @ Base ./reduce.jl:173 [15] mapfoldl @ ./reduce.jl:173 [inlined] [16] kwcall(::@NamedTuple{init::Nothing}, ::typeof(foldl), op::Function, itr::Base.Iterators.Zip{Tuple{Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, Tuple{String, String, String}}}) @ Base ./reduce.jl:196 [17] foreach(::ChainRulesTestUtils.var"#66#67"{Bool, @NamedTuple{rtol::Float64, atol::Float64}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Tuple{ChainRulesCore.NoTangent, ChainRulesCore.Thunk{InvariantPointAttention.var"#22#23"{Array{Float64, 4}, Int64}}, ChainRulesCore.Thunk{InvariantPointAttention.var"#24#25"{Array{Float64, 4}, Int64}}}, ::Tuple{ChainRulesCore.NoTangent, Array{Float64, 3}, Array{Float64, 3}}, ::Vararg{Tuple}) @ Base ./tuple.jl:680 [18] macro expansion @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:235 [inlined] [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] 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 ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:205 [21] kwcall(::NamedTuple, ::typeof(test_rrule), ::ChainRulesCore.RuleConfig, ::Any, ::Any, ::Vararg{Any}) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:181 [22] #test_rrule#57 @ ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:178 [inlined] [23] kwcall(::NamedTuple, ::typeof(test_rrule), ::Any, ::Any, ::Any) @ ChainRulesTestUtils ~/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/testers.jl:177 [24] top-level scope @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:263 [inlined] [27] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [28] macro expansion @ ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:265 [inlined] [29] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [30] top-level scope @ none:6 [31] eval(m::Module, e::Any) @ Core ./boot.jl:489 [32] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [33] _start() @ Base ./client.jl:553 ┌ Warning: `Flux.params(m...)` is deprecated. Use `Flux.trainable(model)` for parameter collection, │ and the explicit `gradient(m -> loss(m, x, y), model)` for gradient computation. └ @ Flux ~/.julia/packages/Flux/uRn8o/src/deprecations.jl:93 ┌ Warning: Implicit gradients such as `withgradient(f, ::Params)` are deprecated in Flux! │ Please see the docs for new explicit form. │ caller = top-level scope at runtests.jl:13 └ @ Core ~/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:13 julia: /source/src/codegen.cpp:5563: jl_cgval_t emit_isdefined(jl_codectx_t&, jl_value_t*, int): Assertion `false && "malformed expression"' failed. [19] signal 6 (-6): Aborted in expression starting at /home/pkgeval/.julia/packages/InvariantPointAttention/kaBw4/test/runtests.jl:11 unknown function (ip: 0x743e0907cebc) at /lib/x86_64-linux-gnu/libc.so.6 gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) unknown function (ip: 0x743e09018394) at /lib/x86_64-linux-gnu/libc.so.6 __assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) emit_isdefined at /source/src/codegen.cpp:5563 [inlined] emit_expr at /source/src/codegen.cpp:6313 emit_ssaval_assign at /source/src/codegen.cpp:5832 emit_stmtpos at /source/src/codegen.cpp:6139 emit_function at /source/src/codegen.cpp:9419 jl_emit_code at /source/src/codegen.cpp:9798 jl_emit_codeinst at /source/src/codegen.cpp:9869 jl_emit_codeinst_to_jit_impl at /source/src/jitlayers.cpp:817 add_codeinsts_to_jit! at ./../usr/share/julia/Compiler/src/typeinfer.jl:1555 typeinf_ext_toplevel at ./../usr/share/julia/Compiler/src/typeinfer.jl:1562 [inlined] typeinf_ext_toplevel at ./../usr/share/julia/Compiler/src/typeinfer.jl:1570 jfptr_typeinf_ext_toplevel_84079.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] jl_type_infer at /source/src/gf.c:462 jl_compile_method_internal at /source/src/gf.c:3514 _jl_invoke at /source/src/gf.c:4007 [inlined] ijl_apply_generic at /source/src/gf.c:4212 pullback at /home/pkgeval/.julia/packages/Zygote/55SqB/src/compiler/interface.jl:474 withgradient at /home/pkgeval/.julia/packages/Zygote/55SqB/src/compiler/interface.jl:211 withgradient at /home/pkgeval/.julia/packages/Flux/uRn8o/src/deprecations.jl:155 unknown function (ip: 0x743de790c216) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:708 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 include_string at ./loading.jl:2847 _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 _include at ./loading.jl:2907 include at ./Base.jl:312 IncludeInto at ./Base.jl:313 jfptr_IncludeInto_30299.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:708 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 exec_options at ./client.jl:286 _start at ./client.jl:553 jfptr__start_59446.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] true_main at /source/src/jlapi.c:971 jl_repl_entrypoint at /source/src/jlapi.c:1138 main at /source/cli/loader_exe.c:58 unknown function (ip: 0x743e09019249) at /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) unknown function (ip: 0x4010b8) at /workspace/srcdir/glibc-2.17/csu/../sysdeps/x86_64/start.S Allocations: 161138682 (Pool: 161136725; Big: 1957); GC: 61 Testing failed after 323.13s ERROR: LoadError: Package InvariantPointAttention errored during testing (received signal: 6) Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2672 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2521 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:538 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:515 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:168 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:157 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [9] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:155 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [12] include(mod::Module, _path::String) @ Base ./Base.jl:311 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:320 [14] _start() @ Base ./client.jl:553 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval crashed after 393.57s: the process was aborted