Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using Flux, cuDNN freezes, but using Flux, CUDA, cuDNN works #2346

Closed
mohamed82008 opened this issue Oct 17, 2023 · 2 comments
Closed

using Flux, cuDNN freezes, but using Flux, CUDA, cuDNN works #2346

mohamed82008 opened this issue Oct 17, 2023 · 2 comments

Comments

@mohamed82008
Copy link

I am trying to load Flux and then cuDNN but it freezes at using cuDNN. However, loading Flux, then CUDA, then cuDNN works. Any idea why?

@darsnack
Copy link
Member

cuDNN has its own extension that triggers on CUDA + cuDNN. I don't see what would hang in the extension itself, so maybe the partial overlap of CUDA is causing issues for the extension system?

[extensions]
FluxAMDGPUExt = "AMDGPU"
FluxCUDAExt = "CUDA"
FluxCUDAcuDNNExt = ["CUDA", "cuDNN"]
FluxMetalExt = "Metal"

@CarloLucibello
Copy link
Member

I cannot reproduce this

julia> using Flux

julia> using cuDNN
Precompiling FluxCUDAcuDNNExt...
  1 dependency successfully precompiled in 17 seconds. 217 already precompiled.

julia>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants