-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
MultiFloats.jl v3.0 was just released, thanks to David Zhang's hard work on extended precision floats.
I tried to create a concrete array from a multifloat type, which results in:
julia> using MultiFloats, Reactant
julia> x4 = rand(Float64x4, 10)
10-element Vector{MultiFloat{Float64, 4}}:
julia> x4r = Reactant.to_rarray(x4, track_numbers=true)
ERROR: TypeError: in RNumber, in T, expected T<:Union{Complex{Int16}, Complex{Int32}, Complex{Int64}, Complex{Int8}, Complex{UInt16}, Complex{UInt32}, Complex{UInt64}, Complex{UInt8}, Core.BFloat16, Bool, Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Reactant.F8E4M3B11FNUZ, Reactant.F8E4M3FN, Reactant.F8E4M3FNUZ, Reactant.F8E5M2, Reactant.F8E5M2FNUZ, ComplexF64, ComplexF32}, got Type{MultiFloat{Float64, 4}}
Stacktrace:
[1] ConcretePJRTNumber(data::MultiFloat{Float64, 4}; kwargs::@Kwargs{sharding::Reactant.Sharding.NoSharding, device::Nothing, client::Nothing})
@ Reactant ~/.julia/packages/Reactant/itXRw/src/Types.jl:178
[2] make_tracer(seen::Reactant.OrderedIdDict{Any, Any}, prev::Number, path::Any, mode::Reactant.TraceMode; track_numbers::Type, sharding::Any, runtime::Any, device::Any, client::Any, kwargs::@Kwargs{})
@ Reactant ~/.julia/packages/Reactant/itXRw/src/Tracing.jl:1670
[3] make_tracer(seen::Reactant.OrderedIdDict{Any, Any}, prev::Array, path::Any, mode::Reactant.TraceMode; track_numbers::Type, sharding::Any, runtime::Any, device::Any, client::Any, kwargs::@Kwargs{})
@ Reactant ~/.julia/packages/Reactant/itXRw/src/Tracing.jl:1801
[4] to_rarray_internal(x::Any, track_numbers::Type, sharding::Any, runtime::Any, device::Any, client::Any)
@ Reactant ~/.julia/packages/Reactant/itXRw/src/Tracing.jl:2092
[5] to_rarray_internal(x::Vector{MultiFloat{Float64, 4}}, track_numbers::Type, sharding::Any, runtime::Val{:PJRT}, device::Any, client::Any)
@ Reactant ~/.julia/packages/Reactant/itXRw/src/Tracing.jl:2168
[6] #to_rarray#167
@ ~/.julia/packages/Reactant/itXRw/src/Tracing.jl:2081 [inlined]
[7] top-level scope
@ REPL[3]:1Version info:
[bdf0d083] MultiFloats v3.1.0
[3c362404] Reactant v0.2.213Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels