Reputation: 119
I want to run the code that is written with cuda8.0 and tensorflow-1.2. I want to run the code in another machine,which the cuda is 9.0, So I use the docker to generate a container,that use this command:
FROM nvidia/cuda:8.0-cudnn5-devel
when I run the code in this container, there is the error below:
CUDA driver version is insufficient for CUDA runtime version
So, Is it wrong? How to solve that?
Upvotes: 10
Views: 11733
Reputation: 558
For anyone that stumbles upon this, the issue here is the version of the CUDA driver library on the host is too old for the CUDA runtime library inside the container. The CUDA driver forms part of your NVIDIA driver installation on the host.
The CUDA drivers are not forwards compatible so the host needs to be at least be as recent as the version of the CUDA runtime you are trying to use in the container. For the widest range of options you should update the NVIDIA driver and CUDA driver on the host to the latest stable version.
Upvotes: 13