nvidia-smi
Command ‚nvidia-smi‘ not found, but can be installed with:
apt install nvidia-utils-510-server # version 510.47.03-0ubuntu3, or
apt install nvidia-utils-390 # version 390.157-0ubuntu0.22.04.1
apt install nvidia-utils-418-server # version 418.226.00-0ubuntu5~0.22.04.1
apt install nvidia-utils-450-server # version 450.236.01-0ubuntu0.22.04.1
apt install nvidia-utils-470 # version 470.182.03-0ubuntu0.22.04.1
apt install nvidia-utils-470-server # version 470.182.03-0ubuntu0.22.04.1
apt install nvidia-utils-510 # version 510.108.03-0ubuntu0.22.04.1
apt install nvidia-utils-515 # version 515.105.01-0ubuntu0.22.04.1
apt install nvidia-utils-515-server # version 515.105.01-0ubuntu0.22.04.1
apt install nvidia-utils-525 # version 525.105.17-0ubuntu0.22.04.1
apt install nvidia-utils-525-server # version 525.105.17-0ubuntu0.22.04.1
apt install nvidia-utils-530 # version 530.41.03-0ubuntu0.22.04.2
Nepátral jsem, které drivery jsou nejlepší pro AI, ale zkouším 525, nebo 530.
řešení, které mi nefungovalo:
apt install nvidia-utils-530
řešení, které mi fungovalo:
add-apt-repository ppa:graphics-drivers/ppa –yes
dpkg-query -W –showformat=’${Package} ${Status}\n‘ | grep -v deinstall | awk ‚{ print $1 }‘ | \
grep -E ‚nvidia.*-[0-9]+$‘ | \
xargs -r -L 1 sudo apt-mark hold
apt install nvidia-utils-525-server
Po opětovném zadání:
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Ma ke sure that the latest NVIDIA driver is installed and running.
Po rebootu stroje:
nvidia-smi
nyní vypíše: (vloženo jako screenshot, jinak ten copy&pastnutý text zde by nevypadal hezky)