NVIDIA / libnvidia-container

NVIDIA container runtime library
Apache License 2.0
843 stars 205 forks source link

nvidia gpu device acess in containers #287

Open viprob-ai opened 1 week ago

viprob-ai commented 1 week ago

Hi I am facing an issue in setting up the gpu inside container.

OS: ubuntu 22.04 podman versions : 3.4.4 nvidia-ctk version : 1.17

Followed all the instruction as per the below link but still no success : https://github.com/NVIDIA/nvidia-container-runtime/issues/85#issuecomment-1772741424

Error: stat nvidia.com/gpu=all: no such file or directory

ericthomasca commented 1 week ago

Did you try running sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml?

viprob-ai commented 1 week ago

Yes after trying many things with no success finally I upgraded the Podman version to 5.0 and everything works.