I get this warning while using Flux on a CUDA GPU:
┌ Warning: Package cuDNN not found in current path.
│ - Run `import Pkg; Pkg.add("cuDNN")` to install the cuDNN package, then restart julia.
│ - If cuDNN is not installed, some Flux functionalities will not be available when running on the GPU.
└ @ FluxCUDAExt ~/.julia/packages/Flux/u7QSl/ext/FluxCUDAExt/FluxCUDAExt.jl:56
I tried pkg> add cuDNN
, but nothing happened. Plus, I thought cuDNN was included in CUDA. What should I do?
The script generates the above warning (and other errors) in the following environment:
julia> VERSION
v"1.9.3"
(@v1.9) pkg> st CUDA
Status `~/.julia/environments/v1.9/Project.toml`
[052768ef] CUDA v5.0.0
(@v1.9) pkg> st Flux
Status `~/.julia/environments/v1.9/Project.toml`
[587475ba] Flux v0.14.6
The same script runs fine in an older environment:
julia> VERSION
v"1.8.5"
(@v1.8) pkg> st CUDA
Status `~/.julia/environments/v1.8/Project.toml`
⌅ [052768ef] CUDA v4.0.1
(@v1.8) pkg> st Flux
Status `~/.julia/environments/v1.8/Project.toml`
⌅ [587475ba] Flux v0.13.14