hi,juan11perez,thank for your guide file
I could install debian and nvidia driver(using nvidia-smi) in lxc, but when I install torch==1.13.1+cu117 in debian, it said Torch is not able to use GPU
I follow your readme file to passing nvidia card(tesla p4)and when I check ls -l /dev/nvidia* ,only shows 195 /dev/nvidia0 and /dev/nvidiactl ,there's no number of dev/nvidia-uvm and dev/nvidia-uvm-tool. how can I get those two ?
# Pass nvidia card into container
# Allow cgroup access
lxc.cgroup.devices.allow = c 195:* rwm
# Pass through device files
lxc.mount.entry = /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file
lxc.mount.entry = /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file
lxc.mount.entry = /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file
lxc.mount.entry = /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry = /dev/nvidia1 dev/nvidia1 none bind,optional,create=file
lxc.mount.entry = /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
root@Tower:~# ls -l /dev/nvidia*
crw-rw-rw- 1 root root 195, 0 Feb 13 19:49 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Feb 13 19:49 /dev/nvidiactl
root@Tower:~# ls -l /dev/nvidia*
crw-rw-rw- 1 root root 195, 0 Feb 13 19:49 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Feb 13 19:49 /dev/nvidiactl
/dev/nvidia-caps:
total 0
cr-------- 1 root root 244, 1 Feb 13 19:49 nvidia-cap1
cr--r--r-- 1 root root 244, 2 Feb 13 19:49 nvidia-cap2
root@Tower:~# ls -al /dev/dri/*
crwxrwxrwx 1 root video 226, 0 Feb 13 19:46 /dev/dri/card0
crwxrwxrwx 1 root video 226, 1 Feb 13 19:48 /dev/dri/card1
crwxrwxrwx 1 root video 226, 128 Feb 13 19:46 /dev/dri/renderD128
crwxrwxrwx 1 root video 226, 129 Feb 13 19:48 /dev/dri/renderD129
/dev/dri/by-path:
total 0
drwxrwxrwx 2 root root 120 Feb 13 19:48 ./
drwxrwxrwx 3 root root 140 Feb 13 19:48 ../
lrwxrwxrwx 1 root root 8 Feb 13 19:48 pci-0000:00:02.0-card -> ../card1
lrwxrwxrwx 1 root root 13 Feb 13 19:48 pci-0000:00:02.0-render -> ../renderD129
lrwxrwxrwx 1 root root 8 Feb 13 19:46 pci-0000:05:00.0-card -> ../card0
lrwxrwxrwx 1 root root 13 Feb 13 19:46 pci-0000:05:00.0-render -> ../renderD128
Unraid Nvidia Driver installed 515.76
Nvidia Info:
Nvidia Driver Version: 515.76
Open Source Kernel Module: No
Installed GPU(s): 0:
Tesla P4
05:00.0
GPU-c8b07fdb-a2d2-d7b4-0c65-559015576121