Wma/fix608 #2053
CI.yml
on: pull_request
Documentation
7m 4s
Python tests
11m 9s
Matrix: test
Annotations
15 errors, 6 warnings, and 2 notices
Documentation:
docs/src/reference/internals/virtualization.md#L18
doctest failure in src/reference/internals/virtualization.md:18-193
```jldoctest example1; setup = :(using Finch)
julia> C = Tensor(SparseList(Element(0)));
julia> A = Tensor(SparseList(Element(0)), [0, 2, 0, 0, 3]);
ERROR: MethodError: no method matching zero(::Type{Any})
This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
Closest candidates are:
zero(::Type{Union{Missing, T}}) where T
@ Base missing.jl:105
zero(!Matched::Type{Union{}}, Any...)
@ Base number.jl:310
zero(!Matched::Type{Dates.Time})
@ Dates ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Dates/src/types.jl:460
...
Stacktrace:
[1] zero(::Type{Any})
@ Base ./missing.jl:106
[2] reduce_empty(::typeof(+), ::Type{Any})
@ Base ./reduce.jl:343
[3] reduce_empty(::typeof(Base.add_sum), ::Type{Any})
@ Base ./reduce.jl:350
[4] mapreduce_empty(::typeof(identity), op::Function, T::Type)
@ Base ./reduce.jl:369
[5] reduce_empty(op::Base.MappingRF{typeof(identity), typeof(Base.add_sum)}, ::Type{Any})
@ Base ./reduce.jl:358
[6] reduce_empty_iter
@ ./reduce.jl:381 [inlined]
[7] mapreduce_empty_iter(f::Function, op::Function, itr::Vector{Any}, ItrEltype::Base.HasEltype)
@ Base ./reduce.jl:377
[8] _mapreduce(f::typeof(identity), op::typeof(Base.add_sum), ::IndexLinear, A::Vector{Any})
@ Base ./reduce.jl:429
[9] _mapreduce_dim
@ ./reducedim.jl:337 [inlined]
[10] mapreduce
@ ./reducedim.jl:329 [inlined]
[11] _sum
@ ./reducedim.jl:987 [inlined]
[12] _sum
@ ./reducedim.jl:986 [inlined]
[13] sum(a::Vector{Any})
@ Base ./reducedim.jl:982
[14] macro expansion
@ ~/Projects/Finch.jl/src/interface/index.jl:116 [inlined]
[15] var"##setindex_helper_generator#280"(arr::Type, src::Type, inds::Type)
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:30
[16] (::Finch.var"#1800#1806"{DataType, DataType, DataType})()
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:54
[17] #s352#1799
@ ~/Projects/Finch.jl/src/util/staging.jl:63 [inlined]
[18] var"#s352#1799"(::Any, arr::Any, src::Any, inds::Any)
@ Finch ./none:0
[19] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
@ Core ./boot.jl:707
[20] setindex!
@ ~/Projects/Finch.jl/src/interface/index.jl:103 [inlined]
[21] macro expansion
@ ~/Projects/Finch.jl/src/execute.jl:78 [inlined]
[22] macro expansion
@ ~/Projects/Finch.jl/src/util/staging.jl:59 [inlined]
[23] execute_impl(ex::Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i_1}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.DefineInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:src}, Vector{Int64}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i_1}, Finch.FinchNotation.IndexInstance{:i_1}}}}, Finch.FinchNotation.SieveInstance{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:!}, Finch.FinchNotation.LiteralInstance{!}}, Tuple{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:isequal}, Finch.FinchNotation.LiteralInstance{isequal}}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.VariableInstance{:tmp}}, Finch.FinchNotation.LiteralInstance{0}}}}}, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLeve
|
Documentation:
docs/src/reference/internals/virtualization.md#L18
doctest failure in src/reference/internals/virtualization.md:18-193
```jldoctest example1; setup = :(using Finch)
julia> C = Tensor(SparseList(Element(0)));
julia> A = Tensor(SparseList(Element(0)), [0, 2, 0, 0, 3]);
ERROR: MethodError: no method matching zero(::Type{Any})
This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
Closest candidates are:
zero(::Type{Union{Missing, T}}) where T
@ Base missing.jl:105
zero(!Matched::Type{Union{}}, Any...)
@ Base number.jl:310
zero(!Matched::Type{Dates.Time})
@ Dates ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Dates/src/types.jl:460
...
Stacktrace:
[1] zero(::Type{Any})
@ Base ./missing.jl:106
[2] reduce_empty(::typeof(+), ::Type{Any})
@ Base ./reduce.jl:343
[3] reduce_empty(::typeof(Base.add_sum), ::Type{Any})
@ Base ./reduce.jl:350
[4] mapreduce_empty(::typeof(identity), op::Function, T::Type)
@ Base ./reduce.jl:369
[5] reduce_empty(op::Base.MappingRF{typeof(identity), typeof(Base.add_sum)}, ::Type{Any})
@ Base ./reduce.jl:358
[6] reduce_empty_iter
@ ./reduce.jl:381 [inlined]
[7] mapreduce_empty_iter(f::Function, op::Function, itr::Vector{Any}, ItrEltype::Base.HasEltype)
@ Base ./reduce.jl:377
[8] _mapreduce(f::typeof(identity), op::typeof(Base.add_sum), ::IndexLinear, A::Vector{Any})
@ Base ./reduce.jl:429
[9] _mapreduce_dim
@ ./reducedim.jl:337 [inlined]
[10] mapreduce
@ ./reducedim.jl:329 [inlined]
[11] _sum
@ ./reducedim.jl:987 [inlined]
[12] _sum
@ ./reducedim.jl:986 [inlined]
[13] sum(a::Vector{Any})
@ Base ./reducedim.jl:982
[14] macro expansion
@ ~/Projects/Finch.jl/src/interface/index.jl:116 [inlined]
[15] var"##setindex_helper_generator#280"(arr::Type, src::Type, inds::Type)
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:30
[16] (::Finch.var"#1800#1806"{DataType, DataType, DataType})()
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:54
[17] #s352#1799
@ ~/Projects/Finch.jl/src/util/staging.jl:63 [inlined]
[18] var"#s352#1799"(::Any, arr::Any, src::Any, inds::Any)
@ Finch ./none:0
[19] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
@ Core ./boot.jl:707
[20] setindex!
@ ~/Projects/Finch.jl/src/interface/index.jl:103 [inlined]
[21] macro expansion
@ ~/Projects/Finch.jl/src/execute.jl:78 [inlined]
[22] macro expansion
@ ~/Projects/Finch.jl/src/util/staging.jl:59 [inlined]
[23] execute_impl(ex::Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i_1}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.DefineInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:src}, Vector{Int64}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i_1}, Finch.FinchNotation.IndexInstance{:i_1}}}}, Finch.FinchNotation.SieveInstance{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:!}, Finch.FinchNotation.LiteralInstance{!}}, Tuple{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:isequal}, Finch.FinchNotation.LiteralInstance{isequal}}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.VariableInstance{:tmp}}, Finch.FinchNotation.LiteralInstance{0}}}}}, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLeve
|
Documentation:
docs/src/reference/internals/virtualization.md#L18
doctest failure in src/reference/internals/virtualization.md:18-193
```jldoctest example1; setup = :(using Finch)
julia> C = Tensor(SparseList(Element(0)));
julia> A = Tensor(SparseList(Element(0)), [0, 2, 0, 0, 3]);
ERROR: MethodError: no method matching zero(::Type{Any})
This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
Closest candidates are:
zero(::Type{Union{Missing, T}}) where T
@ Base missing.jl:105
zero(!Matched::Type{Union{}}, Any...)
@ Base number.jl:310
zero(!Matched::Type{Dates.Time})
@ Dates ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Dates/src/types.jl:460
...
Stacktrace:
[1] zero(::Type{Any})
@ Base ./missing.jl:106
[2] reduce_empty(::typeof(+), ::Type{Any})
@ Base ./reduce.jl:343
[3] reduce_empty(::typeof(Base.add_sum), ::Type{Any})
@ Base ./reduce.jl:350
[4] mapreduce_empty(::typeof(identity), op::Function, T::Type)
@ Base ./reduce.jl:369
[5] reduce_empty(op::Base.MappingRF{typeof(identity), typeof(Base.add_sum)}, ::Type{Any})
@ Base ./reduce.jl:358
[6] reduce_empty_iter
@ ./reduce.jl:381 [inlined]
[7] mapreduce_empty_iter(f::Function, op::Function, itr::Vector{Any}, ItrEltype::Base.HasEltype)
@ Base ./reduce.jl:377
[8] _mapreduce(f::typeof(identity), op::typeof(Base.add_sum), ::IndexLinear, A::Vector{Any})
@ Base ./reduce.jl:429
[9] _mapreduce_dim
@ ./reducedim.jl:337 [inlined]
[10] mapreduce
@ ./reducedim.jl:329 [inlined]
[11] _sum
@ ./reducedim.jl:987 [inlined]
[12] _sum
@ ./reducedim.jl:986 [inlined]
[13] sum(a::Vector{Any})
@ Base ./reducedim.jl:982
[14] macro expansion
@ ~/Projects/Finch.jl/src/interface/index.jl:116 [inlined]
[15] var"##setindex_helper_generator#280"(arr::Type, src::Type, inds::Type)
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:30
[16] (::Finch.var"#1800#1806"{DataType, DataType, DataType})()
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:54
[17] #s352#1799
@ ~/Projects/Finch.jl/src/util/staging.jl:63 [inlined]
[18] var"#s352#1799"(::Any, arr::Any, src::Any, inds::Any)
@ Finch ./none:0
[19] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
@ Core ./boot.jl:707
[20] setindex!
@ ~/Projects/Finch.jl/src/interface/index.jl:103 [inlined]
[21] macro expansion
@ ~/Projects/Finch.jl/src/execute.jl:78 [inlined]
[22] macro expansion
@ ~/Projects/Finch.jl/src/util/staging.jl:59 [inlined]
[23] execute_impl(ex::Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i_1}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.DefineInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:src}, Vector{Int64}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i_1}, Finch.FinchNotation.IndexInstance{:i_1}}}}, Finch.FinchNotation.SieveInstance{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:!}, Finch.FinchNotation.LiteralInstance{!}}, Tuple{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:isequal}, Finch.FinchNotation.LiteralInstance{isequal}}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.VariableInstance{:tmp}}, Finch.FinchNotation.LiteralInstance{0}}}}}, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLeve
|
Documentation:
docs/src/reference/internals/virtualization.md#L18
doctest failure in src/reference/internals/virtualization.md:18-193
```jldoctest example1; setup = :(using Finch)
julia> C = Tensor(SparseList(Element(0)));
julia> A = Tensor(SparseList(Element(0)), [0, 2, 0, 0, 3]);
ERROR: MethodError: no method matching zero(::Type{Any})
This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
Closest candidates are:
zero(::Type{Union{Missing, T}}) where T
@ Base missing.jl:105
zero(!Matched::Type{Union{}}, Any...)
@ Base number.jl:310
zero(!Matched::Type{Dates.Time})
@ Dates ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Dates/src/types.jl:460
...
Stacktrace:
[1] zero(::Type{Any})
@ Base ./missing.jl:106
[2] reduce_empty(::typeof(+), ::Type{Any})
@ Base ./reduce.jl:343
[3] reduce_empty(::typeof(Base.add_sum), ::Type{Any})
@ Base ./reduce.jl:350
[4] mapreduce_empty(::typeof(identity), op::Function, T::Type)
@ Base ./reduce.jl:369
[5] reduce_empty(op::Base.MappingRF{typeof(identity), typeof(Base.add_sum)}, ::Type{Any})
@ Base ./reduce.jl:358
[6] reduce_empty_iter
@ ./reduce.jl:381 [inlined]
[7] mapreduce_empty_iter(f::Function, op::Function, itr::Vector{Any}, ItrEltype::Base.HasEltype)
@ Base ./reduce.jl:377
[8] _mapreduce(f::typeof(identity), op::typeof(Base.add_sum), ::IndexLinear, A::Vector{Any})
@ Base ./reduce.jl:429
[9] _mapreduce_dim
@ ./reducedim.jl:337 [inlined]
[10] mapreduce
@ ./reducedim.jl:329 [inlined]
[11] _sum
@ ./reducedim.jl:987 [inlined]
[12] _sum
@ ./reducedim.jl:986 [inlined]
[13] sum(a::Vector{Any})
@ Base ./reducedim.jl:982
[14] macro expansion
@ ~/Projects/Finch.jl/src/interface/index.jl:116 [inlined]
[15] var"##setindex_helper_generator#280"(arr::Type, src::Type, inds::Type)
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:30
[16] (::Finch.var"#1800#1806"{DataType, DataType, DataType})()
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:54
[17] #s352#1799
@ ~/Projects/Finch.jl/src/util/staging.jl:63 [inlined]
[18] var"#s352#1799"(::Any, arr::Any, src::Any, inds::Any)
@ Finch ./none:0
[19] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
@ Core ./boot.jl:707
[20] setindex!
@ ~/Projects/Finch.jl/src/interface/index.jl:103 [inlined]
[21] macro expansion
@ ~/Projects/Finch.jl/src/execute.jl:78 [inlined]
[22] macro expansion
@ ~/Projects/Finch.jl/src/util/staging.jl:59 [inlined]
[23] execute_impl(ex::Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i_1}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.DefineInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:src}, Vector{Int64}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i_1}, Finch.FinchNotation.IndexInstance{:i_1}}}}, Finch.FinchNotation.SieveInstance{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:!}, Finch.FinchNotation.LiteralInstance{!}}, Tuple{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:isequal}, Finch.FinchNotation.LiteralInstance{isequal}}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.VariableInstance{:tmp}}, Finch.FinchNotation.LiteralInstance{0}}}}}, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLeve
|
Documentation:
docs/src/reference/internals/virtualization.md#L226
doctest failure in src/reference/internals/virtualization.md:226-235
```jldoctest example1
julia> using Finch: @finch_program_instance
julia> prgm = Finch.@finch_program_instance (C .= 0; for i=_; C[i] = A[i] * B[i] end; return C)
ERROR: UndefVarError: `A` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ ~/Projects/Finch.jl/src/FinchNotation/syntax.jl:157
```
Subexpression:
prgm = Finch.@finch_program_instance (C .= 0; for i=_; C[i] = A[i] * B[i] end; return C)
Evaluated output:
Finch program instance: begin
tag(C, Tensor(SparseList(Element(0)))) .= 0
for i = Dimensionless()
tag(C, Tensor(SparseList(Element(0))))[tag(i, i)] <<initwrite>>= tag(*, *)(tag(A, Tensor(SparseList(Element(0))))[tag(i, i)], tag(B, Tensor(Dense(Element(0))))[tag(i, i)])
end
return (tag(C, Tensor(SparseList(Element(0)))))
end
Expected output:
ERROR: UndefVarError: `A` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ ~/Projects/Finch.jl/src/FinchNotation/syntax.jl:157
diff =
Warning: Diff output requires color.
ERROR: UndefVarError: `A` not defined in `Main`
Suggestion: check Finch program instance: begin
tag(C, Tensor(SparseList(Element(0)))) .= 0
for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ ~/Projects/Finch.jl/src/FinchNotation/syntax.jl:157i = Dimensionless()
tag(C, Tensor(SparseList(Element(0))))[tag(i, i)] <<initwrite>>= tag(*, *)(tag(A, Tensor(SparseList(Element(0))))[tag(i, i)], tag(B, Tensor(Dense(Element(0))))[tag(i, i)])
end
return (tag(C, Tensor(SparseList(Element(0)))))
end
|
Documentation:
docs/src/reference/internals/virtualization.md#L243
doctest failure in src/reference/internals/virtualization.md:243-257
```jldoctest example1; filter=r"Finch\.FinchNotation\."
julia> typeof(prgm)
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:1
julia> C = Finch.execute(prgm).C
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:1
```
Subexpression:
typeof(prgm)
Evaluated output:
Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:C}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:C}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Updater()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i}, Finch.FinchNotation.IndexInstance{:i}}}}, Finch.FinchNotation.LiteralInstance{initwrite}, Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:*}, Finch.FinchNotation.LiteralInstance{*}}, Tuple{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:A}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i}, Finch.FinchNotation.IndexInstance{:i}}}}, Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:B}, Tensor{DenseLevel{Int64, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i}, Finch.FinchNotation.IndexInstance{:i}}}}}}}}, Finch.FinchNotation.YieldBindInstance{Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:C}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}}}}}
Expected output:
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:1
diff =
Warning: Diff output requires color.
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:1Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:C}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:C}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Updater()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i}, Finch.FinchNotation.IndexInstance{:i}}}}, Finch.FinchNotation.LiteralInstance{initwrite}, Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:*}, Finch.FinchNotation.LiteralInstance{*}}, Tuple{Finch.FinchNotation.AccessInstance{Fin
|
Documentation:
docs/src/reference/internals/virtualization.md#L243
doctest failure in src/reference/internals/virtualization.md:243-257
```jldoctest example1; filter=r"Finch\.FinchNotation\."
julia> typeof(prgm)
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:1
julia> C = Finch.execute(prgm).C
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:1
```
Subexpression:
C = Finch.execute(prgm).C
Evaluated output:
5-Tensor
└─ SparseList (0) [1:5]
├─ [2]: 24
└─ [5]: 45
Expected output:
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:1
diff =
Warning: Diff output requires color.
ERROR: UndefVarError: `prgm` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] top-level scope
@ none:15-Tensor
└─ SparseList (0) [1:5]
├─ [2]: 24
└─ [5]: 45
|
Documentation:
docs/src/reference/internals/virtualization.md#L264
doctest failure in src/reference/internals/virtualization.md:264-346
```jldoctest example1
julia> function pointwise_sum(As...)
B = Tensor(Dense(Element(0)))
isempty(As) && return B
i = Finch.FinchNotation.index_instance(:i)
A_vars = [Finch.FinchNotation.tag_instance(Finch.FinchNotation.variable_instance(Symbol(:A, n)), As[n]) for n in 1:length(As)]
#create a list of variable instances with different names to hold the input tensors
ex = @finch_program_instance 0
for A_var in A_vars
ex = @finch_program_instance $A_var[i] + $ex
end
prgm = @finch_program_instance (B .= 0; for i=_; B[i] = $ex end; return B)
return Finch.execute(prgm).B
end
pointwise_sum (generic function with 1 method)
julia> pointwise_sum([1, 2], [3, 4])
ERROR: MethodError: no method matching zero(::Type{Any})
This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
Closest candidates are:
zero(::Type{Union{Missing, T}}) where T
@ Base missing.jl:105
zero(!Matched::Type{Union{}}, Any...)
@ Base number.jl:310
zero(!Matched::Type{Dates.Time})
@ Dates ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Dates/src/types.jl:460
...
Stacktrace:
[1] zero(::Type{Any})
@ Base ./missing.jl:106
[2] reduce_empty(::typeof(+), ::Type{Any})
@ Base ./reduce.jl:343
[3] reduce_empty(::typeof(Base.add_sum), ::Type{Any})
@ Base ./reduce.jl:350
[4] mapreduce_empty(::typeof(identity), op::Function, T::Type)
@ Base ./reduce.jl:369
[5] reduce_empty(op::Base.MappingRF{typeof(identity), typeof(Base.add_sum)}, ::Type{Any})
@ Base ./reduce.jl:358
[6] reduce_empty_iter
@ ./reduce.jl:381 [inlined]
[7] mapreduce_empty_iter(f::Function, op::Function, itr::Vector{Any}, ItrEltype::Base.HasEltype)
@ Base ./reduce.jl:377
[8] _mapreduce(f::typeof(identity), op::typeof(Base.add_sum), ::IndexLinear, A::Vector{Any})
@ Base ./reduce.jl:429
[9] _mapreduce_dim
@ ./reducedim.jl:337 [inlined]
[10] mapreduce
@ ./reducedim.jl:329 [inlined]
[11] _sum
@ ./reducedim.jl:987 [inlined]
[12] _sum
@ ./reducedim.jl:986 [inlined]
[13] sum(a::Vector{Any})
@ Base ./reducedim.jl:982
[14] macro expansion
@ ~/Projects/Finch.jl/src/interface/index.jl:116 [inlined]
[15] var"##setindex_helper_generator#280"(arr::Type, src::Type, inds::Type)
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:30
[16] (::Finch.var"#1800#1806"{DataType, DataType, DataType})()
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:54
[17] #s352#1799
@ ~/Projects/Finch.jl/src/util/staging.jl:63 [inlined]
[18] var"#s352#1799"(::Any, arr::Any, src::Any, inds::Any)
@ Finch ./none:0
[19] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
@ Core ./boot.jl:707
[20] setindex!
@ ~/Projects/Finch.jl/src/interface/index.jl:103 [inlined]
[21] macro expansion
@ ~/Projects/Finch.jl/src/execute.jl:78 [inlined]
[22] macro expansion
@ ~/Projects/Finch.jl/src/util/staging.jl:59 [inlined]
[23] execute_impl(ex::Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:B}, Tensor{DenseLevel{Int64, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:B}, Tensor{DenseLevel{Int64, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Updater()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i}, Finch.FinchNotation.IndexInstance{:i}}}}, Finch.FinchNotation.LiteralInstance{initwrite}, Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{
|
Documentation:
docs/src/reference/internals/virtualization.md#L365
doctest failure in src/reference/internals/virtualization.md:365-594
```jldoctest example2; setup = :(using Finch)
julia> A = Tensor(SparseList(Element(0)), [0, 2, 0, 0, 3]);
ERROR: MethodError: no method matching zero(::Type{Any})
This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
Closest candidates are:
zero(::Type{Union{Missing, T}}) where T
@ Base missing.jl:105
zero(!Matched::Type{Union{}}, Any...)
@ Base number.jl:310
zero(!Matched::Type{Dates.Time})
@ Dates ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Dates/src/types.jl:460
...
Stacktrace:
[1] zero(::Type{Any})
@ Base ./missing.jl:106
[2] reduce_empty(::typeof(+), ::Type{Any})
@ Base ./reduce.jl:343
[3] reduce_empty(::typeof(Base.add_sum), ::Type{Any})
@ Base ./reduce.jl:350
[4] mapreduce_empty(::typeof(identity), op::Function, T::Type)
@ Base ./reduce.jl:369
[5] reduce_empty(op::Base.MappingRF{typeof(identity), typeof(Base.add_sum)}, ::Type{Any})
@ Base ./reduce.jl:358
[6] reduce_empty_iter
@ ./reduce.jl:381 [inlined]
[7] mapreduce_empty_iter(f::Function, op::Function, itr::Vector{Any}, ItrEltype::Base.HasEltype)
@ Base ./reduce.jl:377
[8] _mapreduce(f::typeof(identity), op::typeof(Base.add_sum), ::IndexLinear, A::Vector{Any})
@ Base ./reduce.jl:429
[9] _mapreduce_dim
@ ./reducedim.jl:337 [inlined]
[10] mapreduce
@ ./reducedim.jl:329 [inlined]
[11] _sum
@ ./reducedim.jl:987 [inlined]
[12] _sum
@ ./reducedim.jl:986 [inlined]
[13] sum(a::Vector{Any})
@ Base ./reducedim.jl:982
[14] macro expansion
@ ~/Projects/Finch.jl/src/interface/index.jl:116 [inlined]
[15] var"##setindex_helper_generator#280"(arr::Type, src::Type, inds::Type)
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:30
[16] (::Finch.var"#1800#1806"{DataType, DataType, DataType})()
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:54
[17] #s352#1799
@ ~/Projects/Finch.jl/src/util/staging.jl:63 [inlined]
[18] var"#s352#1799"(::Any, arr::Any, src::Any, inds::Any)
@ Finch ./none:0
[19] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
@ Core ./boot.jl:707
[20] setindex!
@ ~/Projects/Finch.jl/src/interface/index.jl:103 [inlined]
[21] macro expansion
@ ~/Projects/Finch.jl/src/execute.jl:78 [inlined]
[22] macro expansion
@ ~/Projects/Finch.jl/src/util/staging.jl:59 [inlined]
[23] execute_impl(ex::Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i_1}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.DefineInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:src}, Vector{Int64}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i_1}, Finch.FinchNotation.IndexInstance{:i_1}}}}, Finch.FinchNotation.SieveInstance{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:!}, Finch.FinchNotation.LiteralInstance{!}}, Tuple{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:isequal}, Finch.FinchNotation.LiteralInstance{isequal}}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.VariableInstance{:tmp}}, Finch.FinchNotation.LiteralInstance{0}}}}}, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, Elem
|
Documentation:
docs/src/reference/internals/virtualization.md#L365
doctest failure in src/reference/internals/virtualization.md:365-594
```jldoctest example2; setup = :(using Finch)
julia> A = Tensor(SparseList(Element(0)), [0, 2, 0, 0, 3]);
ERROR: MethodError: no method matching zero(::Type{Any})
This error has been manually thrown, explicitly, so the method may exist but be intentionally marked as unimplemented.
Closest candidates are:
zero(::Type{Union{Missing, T}}) where T
@ Base missing.jl:105
zero(!Matched::Type{Union{}}, Any...)
@ Base number.jl:310
zero(!Matched::Type{Dates.Time})
@ Dates ~/.julia/juliaup/julia-1.11.1+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Dates/src/types.jl:460
...
Stacktrace:
[1] zero(::Type{Any})
@ Base ./missing.jl:106
[2] reduce_empty(::typeof(+), ::Type{Any})
@ Base ./reduce.jl:343
[3] reduce_empty(::typeof(Base.add_sum), ::Type{Any})
@ Base ./reduce.jl:350
[4] mapreduce_empty(::typeof(identity), op::Function, T::Type)
@ Base ./reduce.jl:369
[5] reduce_empty(op::Base.MappingRF{typeof(identity), typeof(Base.add_sum)}, ::Type{Any})
@ Base ./reduce.jl:358
[6] reduce_empty_iter
@ ./reduce.jl:381 [inlined]
[7] mapreduce_empty_iter(f::Function, op::Function, itr::Vector{Any}, ItrEltype::Base.HasEltype)
@ Base ./reduce.jl:377
[8] _mapreduce(f::typeof(identity), op::typeof(Base.add_sum), ::IndexLinear, A::Vector{Any})
@ Base ./reduce.jl:429
[9] _mapreduce_dim
@ ./reducedim.jl:337 [inlined]
[10] mapreduce
@ ./reducedim.jl:329 [inlined]
[11] _sum
@ ./reducedim.jl:987 [inlined]
[12] _sum
@ ./reducedim.jl:986 [inlined]
[13] sum(a::Vector{Any})
@ Base ./reducedim.jl:982
[14] macro expansion
@ ~/Projects/Finch.jl/src/interface/index.jl:116 [inlined]
[15] var"##setindex_helper_generator#280"(arr::Type, src::Type, inds::Type)
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:30
[16] (::Finch.var"#1800#1806"{DataType, DataType, DataType})()
@ Finch ~/Projects/Finch.jl/src/util/staging.jl:54
[17] #s352#1799
@ ~/Projects/Finch.jl/src/util/staging.jl:63 [inlined]
[18] var"#s352#1799"(::Any, arr::Any, src::Any, inds::Any)
@ Finch ./none:0
[19] (::Core.GeneratedFunctionStub)(::UInt64, ::LineNumberNode, ::Any, ::Vararg{Any})
@ Core ./boot.jl:707
[20] setindex!
@ ~/Projects/Finch.jl/src/interface/index.jl:103 [inlined]
[21] macro expansion
@ ~/Projects/Finch.jl/src/execute.jl:78 [inlined]
[22] macro expansion
@ ~/Projects/Finch.jl/src/util/staging.jl:59 [inlined]
[23] execute_impl(ex::Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.BlockInstance{Tuple{Finch.FinchNotation.DeclareInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, ElementLevel{0, Int64, Int64, Vector{Int64}}}}}, Finch.FinchNotation.LiteralInstance{0}}, Finch.FinchNotation.LoopInstance{Finch.FinchNotation.IndexInstance{:i_1}, Finch.FinchNotation.Dimensionless, Finch.FinchNotation.DefineInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:src}, Vector{Int64}}, Finch.FinchNotation.LiteralInstance{Finch.FinchNotation.Reader()}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:i_1}, Finch.FinchNotation.IndexInstance{:i_1}}}}, Finch.FinchNotation.SieveInstance{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:!}, Finch.FinchNotation.LiteralInstance{!}}, Tuple{Finch.FinchNotation.CallInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:isequal}, Finch.FinchNotation.LiteralInstance{isequal}}, Tuple{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:tmp}, Finch.FinchNotation.VariableInstance{:tmp}}, Finch.FinchNotation.LiteralInstance{0}}}}}, Finch.FinchNotation.AssignInstance{Finch.FinchNotation.AccessInstance{Finch.FinchNotation.TagInstance{Finch.FinchNotation.VariableInstance{:dst}, Tensor{SparseListLevel{Int64, Vector{Int64}, Vector{Int64}, Elem
|
Python tests
Process completed with exit code 1.
|
Julia 1.6.7 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
|
Julia 1 - ubuntu-latest - x64 - pull_request
Process completed with exit code 1.
|
Julia 1 - windows-latest - x86 - pull_request
Process completed with exit code 1.
|
Julia 1.6.7 - windows-latest - x86 - pull_request
Process completed with exit code 1.
|
Documentation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Python tests
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Julia 1.6.7 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Julia 1 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Julia 1 - windows-latest - x86 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Julia 1.6.7 - windows-latest - x86 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, julia-actions/setup-julia@v1, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`
|
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`
|