julia-ngc icon indicating copy to clipboard operation
julia-ngc copied to clipboard

CUDA driver compatibility

Open samcmill opened this issue 5 years ago • 4 comments

Loading the container on a system with the 384 driver returns this error:

Precompiling project...
Precompiling CUDAnative
ERROR: LoadError: CUDA 10.0 is not supported by
your driver (which supports up to 9.0)

The error is coming from https://github.com/JuliaGPU/CUDAnative.jl/blob/master/src/CUDAnative.jl#L49.

Starting with CUDA 10.0, forward compatibility was introduced that allows newer CUDA toolkits to be used with older drivers: https://docs.nvidia.com/deploy/cuda-compatibility/index.html.

Can the CUDAnative logic be modified to recognize the new CUDA compatibility?

An alternative solution would be to downgrade the base container image from CUDA 10.0 to 9.x (e.g., nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04 -> nvidia/cuda:9.2-cudnn7-devel-ubuntu18.04 or nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04)

samcmill avatar Oct 08 '19 14:10 samcmill