Skip to content

Error using CUDA with Julia 1.9.1 #134

@liusulin

Description

@liusulin

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!

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