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

Is there any version of pytorch native library for cudnn9 #3159

Closed
zaobao opened this issue May 6, 2024 · 2 comments
Closed

Is there any version of pytorch native library for cudnn9 #3159

zaobao opened this issue May 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@zaobao
Copy link

zaobao commented May 6, 2024

Description

Caused by: java.lang.UnsatisfiedLinkError: /home/deploy/.djl.ai/pytorch/2.0.1-20230709-cu118-linux-x86_64/libtorch_cuda.so: libcudnn.so.8: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)

But only libcudnn.so.9 is installed in the system

$ ls /usr/lib64/libcu*
libcuda.so                                     libcudnn_engines_runtime_compiled.so.9
libcuda.so.1                                   libcudnn_engines_runtime_compiled.so.9.1.1
libcuda.so.510.47.03                           libcudnn_engines_runtime_compiled_static.a
libcudnn.so                                    libcudnn_engines_runtime_compiled_static_v9.a
libcudnn.so.9                                  libcudnn_graph.so
libcudnn.so.9.1.1                              libcudnn_graph.so.9
libcudnn_adv.so                                libcudnn_graph.so.9.1.1
libcudnn_adv.so.9                              libcudnn_graph_static.a
libcudnn_adv.so.9.1.1                          libcudnn_graph_static_v9.a
libcudnn_adv_static.a                          libcudnn_heuristic.so
libcudnn_adv_static_v9.a                       libcudnn_heuristic.so.9
libcudnn_cnn.so                                libcudnn_heuristic.so.9.1.1
libcudnn_cnn.so.9                              libcudnn_heuristic_static.a
libcudnn_cnn.so.9.1.1                          libcudnn_heuristic_static_v9.a
libcudnn_cnn_static.a                          libcudnn_ops.so
libcudnn_cnn_static_v9.a                       libcudnn_ops.so.9
libcudnn_engines_precompiled.so                libcudnn_ops.so.9.1.1
libcudnn_engines_precompiled.so.9              libcudnn_ops_static.a
libcudnn_engines_precompiled.so.9.1.1          libcudnn_ops_static_v9.a
libcudnn_engines_precompiled_static.a          libcurl.so.4
libcudnn_engines_precompiled_static_v9.a       libcurl.so.4.7.0
libcudnn_engines_runtime_compiled.so 
@zaobao zaobao added the bug Something isn't working label May 6, 2024
@frankfliu
Copy link
Contributor

No, current PyTorch only support cudnn8. You can build your own PyTorch in you want to use cudnn9

@zaobao
Copy link
Author

zaobao commented May 7, 2024

Thanks.
I installed libcudnn8. It worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants