How to use NVIDIA GPU in Proxmox
Install NVIDIA Drivers on Proxmox running Debian 12
Update PVE Host
apt update && apt upgrade -y && apt install build-essential -y
Add “non-free-firmware” your apt repositories
vi /etc/apt/sources.list
Change the line:
deb http://deb.debian.org/debian/ bookworm main contrib non-free-firmware
sudo apt update
Install NVIDIA detector and analyze required drivers
apt install nvidia-detect && nvidia-detect
Install nvidia-drivers
apt install nvidia-driver
Reboot
reboot
Validate installation
nvidia-smi
How to use NVIDIA GPU in LXC
Create a privileged LXC container in Proxmox and install the drivers on the container. Ensure the LXC container has the same driver version as the PVE host. This will allow the LXC running in Proxmox to use the GPU as if it was natively installed.