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

[Solved just sharing] Fixing the libcudnn_cnn_infer.so.8 Error #16

Open
mikelmh025 opened this issue Apr 24, 2024 · 1 comment
Open

Comments

@mikelmh025
Copy link

(I am not pro user, but someone barely maintaining the lab server from crashing. If my message messed up your server, sorry in advance!)

Hey there,
I recently ran into an issue after installing via conda and pip, and I wanted to share my solution in case anyone else encounters the same problem.

The Error
Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory

The Fix
After some research, I found that I needed to install nvidia-cudnn. Here's what worked for me:

  1. Update your package list: Run sudo apt update to ensure you have the latest package information.
  2. Install nvidia-cudnn: Execute sudo apt install nvidia-cudnn to install the required library.

Note on CUDA Version Compatibility
Keep in mind that CUDA version 545 might not be compatible with other dependencies. I recommend using CUDA version 535 instead.

Additional Tips

  • Don't forget to reboot your system if prompted to do so after updating your drivers.
  • If you encounter issues with NVML, make sure both the driver and NVML are updated to the same version (in this case, 535).

Hope this helps!

@mikelmh025
Copy link
Author

image Just a proof that the code runs on my machine.

Thanks for the awesome paper and open sourced repo!!

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

1 participant