I have created a docker image and getting the following error while running on a aws machine.
Could not load library libcudnn_ops_infer.so.8. Error: libcublas.so.11: cannot open shared object file: No such file or directory
Please make sure libcudnn_ops_infer.so.8 is in your library path!
As a solution I had inserted the following line in the docker file:
RUN export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8
But am still getting the same error. If anyone could help me it would be great.
If I knew what were the necessary libraries, I would have just told you that The only thing I saw was the error message. If you those files are not even there, setting environment variables can’t help. Since I rarely use GPU with Docker and I have never seen that error message, this is all I could tell. You wrote days ago. I hope you could find a solution since then.