Pretty much as the title says. Whenever I call e.g.
Import Flux
d_gpu = Flux.gpu(Flux.Dense(10, 10))
┌ Warning: The NVIDIA driver on this system only supports up to CUDA 11.0.0.
│ For performance reasons, it is recommended to upgrade to a driver that supports CUDA 11.2 or higher.
└ @ CUDA ~/.julia/packages/CUDA/DfvRa/src/initialization.jl:70
│ Downloading artifact: CUDNN
whether in REPL or a script it starts downloading a CUDNN artifact (doesn’t show any version information).
and nvidia-smi shows CUDA Version: 11.0 (this one’s out of my control). How can I avoid the download of the artifact every time? Any help is appreciated, if you need more information - let me know and I’ll do what I can.
Is that in the REPL? As I’ve just tried that and get
julia> import CUDA
julia> JULIA_DEBUG=CUDA
CUDA
julia> import Flux
julia> a = Flux.Dense(10, 10)
Dense(10 => 10) # 110 parameters
julia> b = Flux.gpu(a)
│┌ Warning: The NVIDIA driver on this system only supports up to CUDA 11.0.0.
││ For performance reasons, it is recommended to upgrade to a driver that supports CUDA 11.2 or higher. │ Downloaded artifact: CUDNN
│ Downloaded artifact: CUDNN
│┌ Warning: CUDA.jl found cuda, but did not find libcudnn. Some functionality will not be available.
│└ @ Flux ~/.julia/packages/Flux/4k0Ls/src/functor.jl:195
│Dense(10 => 10) # 110 parameters
Ah, thank you, my apologies, I was not aware of that. I tried it and it doesn’t seem to give any extra information, at least based on the calls that I’ve made after setting it.