Is cuDNN not installed on the current Dockerfile?
See original GitHub issueI think that cuDNN is not installed in the current Dockerfile/Docker image. It is necessary to modify Dockerfile as follows.
In dockerfile
Now
FROM nvidia/cuda
New
FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
or
FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
NVIDIA cuDNN installation in ubuntu20.04 docker container
Does anybody know which cudnn and cuda versions are needed here? Is there a link to REPOs where I can see available packages,...
Read more >cuDNN is not installed in docker container based on nvidia ...
I have built the docker image based on nvidia/cuda:11.2.0-cudnn8-devel-ubuntu20.04, and run “nvidia-docker run -it my_image_name”.
Read more >Simplify Your Cuda / CuDNN Experience Using Docker
Simplify Your Cuda / CuDNN Experience Using Docker: An Install Guide for managing Different versions of Cuda/CuDNN on Ubuntu 20.04 · Getting ...
Read more >Docker Ubuntu container on Debian host with custom CUDA ...
I do not know why the CUDA version shown by nvidia-smi called from inside the container showed CUDA version of the host, but...
Read more >Setting Up TensorFlow And PyTorch Using GPU On Docker
Current state-of-the-art models are famously huge and ... Assuming you have Docker installed on your computer we can download these images ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In order to use Tensorflow-gpu, it seems that CUDA and cuDNN v 5.1 need to be installed. Even in Docker 's container, even in a pure computer.
It seems appropriate that CUDA and cuDNN are prepared in containers beforehand. Even if you use a pure computer, not only in the container, it seems necessary to have an environment where CUDA and cuDNN are installed first.
Therefore, it seems that you will use the Docker image which nvidia has released. Even the official tensorflow-gpu Docker image is as follows.
FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/docker/Dockerfile.gpuIn an environment where CUDA and cuDNN are installed, Tensorflow is installed. I think it would be nice to do the same.
Try the Docker build test with the Dockerfile that changed only the first line.
FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04
We can install cuDNN no changes.Requirement is important. The effect by installing cuDNN seems to have been better than ever.