-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Reactant currently doesn't know how to convert a FixedSizeArray
:
julia> using Reactant, FixedSizeArrays
julia> Reactant.to_rarray(FixedSizeArray(rand(Float32, 100)))
ERROR: TypeError: in new, expected DataType, got Type{Memory{Float32}}
Stacktrace:
[1] make_tracer_unknown(seen::Reactant.OrderedIdDict{…}, prev::Any, path::Any, mode::Reactant.TraceMode; track_numbers::Type, sharding::Any, runtime::Any, kwargs::@Kwargs{…})
@ Reactant /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1046
[2] make_tracer_unknown
@ /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1009 [inlined]
[3] #make_tracer#134
@ /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1146 [inlined]
[4] make_tracer_unknown(seen::Reactant.OrderedIdDict{…}, prev::Any, path::Any, mode::Reactant.TraceMode; track_numbers::Type, sharding::Any, runtime::Any, kwargs::@Kwargs{…})
@ Reactant /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1090
[5] make_tracer_unknown
@ /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1009 [inlined]
[6] #make_tracer#134
@ /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1146 [inlined]
[7] to_rarray_internal(x::Any, track_numbers::Type, sharding::Any, runtime::Any, device::Any, client::Any)
@ Reactant /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1848
[8] #to_rarray#156
@ /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1837 [inlined]
[9] to_rarray(x::Any)
@ Reactant /local/scratch/user/.julia/dev/Reactant/src/Tracing.jl:1827
[10] top-level scope
@ REPL[43]:1
Metadata
Metadata
Assignees
Labels
No labels