I have an old server with two GPUs (TITAN Xp, and RTX 2080). I am using that mostly for developing an playing.
Now, I wanted to compare the speed of Lux with CUDA and with Reactant, but the reactant library cannot find the GPU. I am receiving this error
julia> using Reactant
julia> Reactant.devices()
AssertionError("Could not find registered platform with name: \"cuda\". Available platform names are: ")
1-element Vector{Reactant.XLA.PJRT.Device}:
Reactant.XLA.PJRT.Device(Ptr{Nothing} @0x00000000030f2410, "CPU:0 cpu")
Does anyone experienced something similar? Do I have to install something special?
Thanks for help in advance.
Version info and libs
julia> versioninfo()
Julia Version 1.11.4
Commit 8561cc3d68d (2025-03-10 11:36 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 16 × AMD Ryzen Threadripper 1900X 8-Core Processor
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver1)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
(tmp) pkg> st
Status ~/tmp/Project.toml
[052768ef] CUDA v5.7.0
[b2108857] Lux v1.9.0
[d0bbae9a] LuxCUDA v0.3.3
[eb30cadb] MLDatasets v0.7.18
[f1d291b0] MLUtils v0.4.7
[0b1bfda6] OneHotArrays v0.2.6
[3bd65402] Optimisers v0.4.5
[3c362404] Reactant v0.2.45
[e88e6eb3] Zygote v0.7.4