-
Hello.
Is "NVIDIA Linux Open GPU Kernel Module Source" (https://github.com/NVIDIA/open-gpu-kernel-modules) a full replacement for proprietary *.run files (e.g. NVIDIA-Linux-x86_64-510.73.05.run )? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
AFAIK you need the CUDA toolkit on the docker container but not on the host system. |
Beta Was this translation helpful? Give feedback.
-
If you follow the README.md file, it does walk through how to build. |
Beta Was this translation helpful? Give feedback.
-
In order to run GPU-enabled docker containers the NVIDIA Container Toolkit is required. This ensures that the required driver libraries and devices are injected into the container as it is started. It is agnostic of the container runtime used (although it may required specific configuration for particular runtimes) and also allows the CUDA Toolkit to be bundled in the container image and be used as long as it is supported by the driver version on the host. In general, older CUDA versions are supported by newer driver versions and there is some forward-compatibility at least across minor versions that is also supported. A CUDA-capable NVIDIA GPU driver is a prerequisite for the NVIDIA Container Toolkit, but it does not prescribe how the driver is installed. With this in mind, you should be able to select the installation mechanism that suits your use case. I don't know whether this answers your original question of:
But I would assume that the answer is generally "no", since only the kernel modules are open sourced, and from the perspective of the NVIDIA Container Toolkit at least, the "NVIDIA GPU driver" includes the NVIDIA Management Library ( |
Beta Was this translation helpful? Give feedback.
In order to run GPU-enabled docker containers the NVIDIA Container Toolkit is required. This ensures that the required driver libraries and devices are injected into the container as it is started. It is agnostic of the container runtime used (although it may required specific configuration for particular runtimes) and also allows the CUDA Toolkit to be bundled in the container image and be used as long as it is supported by the driver version on the host. In general, older CUDA versions are supported by newer driver versions and there is some forward-compatibility at least across minor versions that is also supported.
A CUDA-capable NVIDIA GPU driver is a prerequisite for the NVIDIA Cont…