Skip to content

Failed to precompile SymbolicsLuxExt #1413

@SebastianM-C

Description

@SebastianM-C

I'm seeing

Failed to precompile SymbolicsLuxExt [e6b0080e-84b4-5885-ba4d-e6e9d1269bd5] to "/home/sebastian/.julia/compiled/v1.11/SymbolicsLuxExt/jl_ebxtxg".
ERROR: LoadError: MethodError: no method matching __iterspace(::Type{AbstractArray})
The function `__iterspace` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  __iterspace(::KernelAbstractions.CompilerMetadata)
   @ KernelAbstractions ~/.julia/packages/KernelAbstractions/PjD0d/src/compiler.jl:23

Stacktrace:
  [1] ndims(ctx::Type)
    @ KernelAbstractions ~/.julia/packages/KernelAbstractions/PjD0d/src/compiler.jl:33
  [2] (::Symbolics.var"#2#11"{UnionAll})(elT::Expr)
    @ Symbolics ~/.julia/packages/Symbolics/EftHA/src/wrapper-types.jl:120
  [3] (::Symbolics.var"#type_options#10"{Module, Bool})(arg::Expr)
    @ Symbolics ~/.julia/packages/Symbolics/EftHA/src/wrapper-types.jl:125
  [4] iterate
    @ ./generator.jl:48 [inlined]
  [5] collect_to!(dest::Vector{Tuple{DataType, Expr}}, itr::Base.Generator{Vector{Any}, Symbolics.var"#type_options#10"{Module, Bool}}, offs::Int64, st::Int64)
    @ Base ./array.jl:849
  [6] collect_to_with_first!(dest::Vector{Tuple{DataType, Expr}}, v1::Tuple{DataType, Expr}, itr::Base.Generator{Vector{Any}, Symbolics.var"#type_options#10"{Module, Bool}}, st::Int64)
    @ Base ./array.jl:827
  [7] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, Symbolics.var"#type_options#10"{Module, Bool}}, ::Base.EltypeUnknown, isz::Base.HasShape{1})
    @ Base ./array.jl:821
  [8] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, Symbolics.var"#type_options#10"{Module, Bool}})
    @ Base ./array.jl:720
  [9] map(f::Function, A::Vector{Any})
    @ Base ./abstractarray.jl:3371
 [10] wrap_func_expr(mod::Module, expr::Expr, wrap_arrays::Bool)
    @ Symbolics ~/.julia/packages/Symbolics/EftHA/src/wrapper-types.jl:140
 [11] var"@wrapped"(__source__::LineNumberNode, __module__::Module, expr::Any, wrap_arrays::Any)
    @ Symbolics ~/.julia/packages/Symbolics/EftHA/src/wrapper-types.jl:175
 [12] include
    @ ./Base.jl:557 [inlined]
 [13] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2881
 [14] top-level scope
    @ stdin:6
in expression starting at /home/sebastian/.julia/packages/Symbolics/EftHA/src/register.jl:109
in expression starting at /home/sebastian/.julia/packages/Symbolics/EftHA/ext/SymbolicsLuxExt.jl:1

with

  [b2108857] Lux v1.5.2
  [0c5d862f] Symbolics v6.24.0

I don't think that the tests for the extensions are ran in CI. Edit: #1414 should fix that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions