Skip to content

Conversation

@CarloLucibello
Copy link
Member

@CarloLucibello CarloLucibello commented Dec 5, 2025

Fix #2625 while maintaining retrocompatibility, that is

using CUDA, Flux

is all you need for CUDA support, provided cuDNN is available in your environment.

This solution is still not orthodox, so I'm not sure it won't have bad interactions with other package extensions.

The other possibilities are:

  • Recommended to use using CUDA, cuDNN, Flux
  • Introduce an auxiliary package (FluxCUDA) requiring CUDA and cuDNN, so that we can do using FluxCUDA, Flux.

None of these 2 options would allow old code to keep working on julia 1.12 as this PR instead does.

See also JuliaLang/julia#60307

@CarloLucibello
Copy link
Member Author

@potaslab would you like to give this a try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Julia 1.12: Deadlock detected in loading Flux ext

3 participants