Proxmox : utiliser une carte graphique Nvidia avec un conteneur LXC

Lien : https://shionn.github.io/draft/nvidia-proxmox-lxc-passthrought-ollama.html

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/firmware-nvidia-gsp_590.48.01-1_amd64.deb

dpkg -i firmware-nvidia-gsp590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-gpucomp_590.48.01-1_amd64.deb

dpkg -i libnvidia-gpucomp590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-ptxjitcompiler1_590.48.01-1_amd64.deb

dpkg -i libnvidia-ptxjitcompiler1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-pkcs11-openssl3_590.48.01-1_amd64.deb

dpkg -i libnvidia-pkcs11-openssl3590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libcuda1_590.48.01-1_amd64.deb dpkg -i libcuda1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libcudadebugger1_590.48.01-1_amd64.deb

dpkg -i libcudadebugger1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvcuvid1_590.48.01-1_amd64.deb dpkg -i libnvcuvid1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-cfg1_590.48.01-1_amd64.deb

dpkg -i libnvidia-cfg1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-encode1_590.48.01-1_amd64.deb

dpkg -i libnvidia-encode1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/nvidia-modprobe_590.48.01-1_amd64.deb dpkg -i nvidia-modprobe590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/nvidia-kernel-support_590.48.01-1_amd64.deb

dpkg -i nvidia-kernel-support590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-fbc1_590.48.01-1_amd64.deb dpkg -i libnvidia-fbc1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-ml1_590.48.01-1_amd64.deb

dpkg -i libnvidia-ml1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-nvvm4_590.48.01-1_amd64.deb

dpkg -i libnvidia-nvvm4590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-nvvm704_590.48.01-1_amd64.deb

dpkg -i libnvidia-nvvm704590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-opticalflow1_590.48.01-1_amd64.deb

dpkg -i libnvidia-opticalflow1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-present_590.48.01-1_amd64.deb

dpkg -i libnvidia-present590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-sandboxutils_590.48.01-1_amd64.deb

dpkg -i libnvidia-sandboxutils590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvidia-tileiras_590.48.01-1_amd64.deb

dpkg -i libnvidia-tileiras590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/libnvoptix1_590.48.01-1_amd64.deb

dpkg -i libnvoptix1590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/nvidia-opencl-icd_590.48.01-1_amd64.deb

dpkg -i nvidia-opencl-icd590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/nvidia-persistenced_590.48.01-1_amd64.deb

dpkg -i nvidia-persistenced590.48.01-1amd64.deb

wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/nvidia-driver-cuda_590.48.01-1_amd64.deb

dpkg -i nvidia-driver-cuda590.48.01-1amd64.deb