Do I Need NVIDIA GPU Drivers Installed on the Host for My Container?

0
8
Asked By TechWizard42 On

I'm currently running some workloads in a container that has the NVIDIA GPU driver installed. I'm wondering if I also need to install the driver on the host system, or is it sufficient to only have it in the container?

2 Answers

Answered By GigaGuru99 On

You definitely need to have the NVIDIA driver installed on the host system since it's part of the kernel. The container itself runs on the host's kernel, so you'll want that driver there to ensure everything works properly.

Answered By CudaKnight88 On

With NVIDIA's container toolkit, you typically only need the driver on the host. It gets mounted into your container, so you can have other things like CUDA runtimes in your container without needing duplicate drivers.

BioHacker21 -

That sounds useful! Just to clarify, do I need to worry about version compatibility between the host driver and what I have in the container?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.