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

Incompatibility with cuDNN 1.3.1 #37

Closed
GunnarFarneback opened this issue Apr 15, 2024 · 1 comment · Fixed by #38
Closed

Incompatibility with cuDNN 1.3.1 #37

GunnarFarneback opened this issue Apr 15, 2024 · 1 comment · Fixed by #38

Comments

@GunnarFarneback
Copy link
Collaborator

The recently released cuDNN 1.3.1 bumps the CUDNN_jll dependency to 9.0, which provides libcudnn.so.9. This is not compatible with the ONNXRunTime CUDA extension, which needs libcudnn.so.8 to be loaded before loading libonnxruntime_providers_cuda.so. Things might still work if libcudnn.so.8 happens to be found in system libraries but that's obviously not something we want to depend on.

For future releases (until we can be compatible with CUDNN 9) we can upper bound cuDNN with

cuDNN = "~1.1, ~1.2, =1.3.0"

but I suspect we also had better retroactively cap the dependency for existing versions (0.4 and up) in the General registry. I know how to prepare a registry PR to that effect if it sounds good.

@jw3126
Copy link
Owner

jw3126 commented Apr 15, 2024

Sounds good, thanks a lot! GPU support is such a pain.

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

Successfully merging a pull request may close this issue.

2 participants