Tensorflow: CUDA driver version is insufficient for CUDA runtime. Can I install drivers in container?

85 views
Skip to first unread message

Robert Lugg

unread,
Mar 14, 2019, 4:42:07 PM3/14/19
to singularity
I'm getting the error when running a newer version of TensorFlow.  I suspect the drivers on my host computer are too old for this CUDA library.

Is there any way to leave the host drivers as-is and (somehow) upgrade them within the container?


Regards.

Kandes, Martin

unread,
Mar 14, 2019, 5:26:11 PM3/14/19
to singularity

Hi Robert,


Unfortunately, no. You're limited by the the drivers on the host system.


Marty


From: Robert Lugg <rober...@gmail.com>
Sent: Thursday, March 14, 2019 1:42:07 PM
To: singularity
Subject: [Singularity] Tensorflow: CUDA driver version is insufficient for CUDA runtime. Can I install drivers in container?
 
I'm getting the error when running a newer version of TensorFlow.  I suspect the drivers on my host computer are too old for this CUDA library.

Is there any way to leave the host drivers as-is and (somehow) upgrade them within the container?


Regards.

--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.

Gregory M. Kurtzer

unread,
Mar 14, 2019, 6:50:19 PM3/14/19
to singularity
Are you using the `--nv` runtime Singularity option?

--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.


--
Gregory M. Kurtzer
CEO, Sylabs Inc.

David Godlove

unread,
Mar 15, 2019, 11:08:29 PM3/15/19
to singularity
Installing an nvidia driver really does 2 things.  It installs a kernel module, and it copies a bunch of user-space libraries onto the host.  Your container shares the kernel (and thus the nvidia kernel module) with the host system.  The user-space libraries inside the container have to match the kernel module version exactly.  So you really can't upgrade the driver in the container without also updating the driver on the host system.  Sorry. 
Reply all
Reply to author
Forward
0 new messages