You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running the binomial_mnist.jl in examples on CUDA with julia binomial_mnist.jl and run into this error:
ERROR: LoadError: InvalidIRError: compiling kernel init_mar!(CuDeviceMatrix{Float32, 1}, CuDeviceVector{Union{ProbabilisticCircuits.BitsMul, ProbabilisticCircuits.BitsSum, ProbabilisticCircuits.BitsInput{ProbabilisticCircuits.BitsBinomial}}, 1}, CuDeviceMatrix{UInt8, 1}, UnitRange{Int64}, CuDeviceVector{Float32, 1}, Int32, Int32, ProbabilisticCircuits.var"#input_init_func#50") resulted in invalid LLVM IR
Reason: unsupported dynamic function invocation (call to depwarn(msg, funcsym; force) @ Base deprecated.jl:121)
Julia version: 1.9.1. ProbabilisticCircuits version: 0.4.1.
It seems depwarn is deprecated and thus causing the error. Can you help check and tell me the versions needed to run the package? Thanks very much!
The text was updated successfully, but these errors were encountered:
I suspect something we call has been depreatd in new Julia version and causing issues. The code that handles cuda kernel calls is a bit delicate since a lot of type inference is happening but cuda kernels don't like that. The errors we get are not that informative due to weird way cuda type inference was/is handled from julia at the time.
Could you try running it on earlier version of Julia? Last time I ran this was > a year ago.
Also do you get similar errors when running other examples like examples/cat_hclt_mnist.jl?
I was running the
binomial_mnist.jl
inexamples
on CUDA withjulia binomial_mnist.jl
and run into this error:Julia version: 1.9.1. ProbabilisticCircuits version: 0.4.1.
It seems depwarn is deprecated and thus causing the error. Can you help check and tell me the versions needed to run the package? Thanks very much!
The text was updated successfully, but these errors were encountered: