Closed samiwilf closed 1 year ago
The docker command needs --gpu all to run nvidia-smi and use CUDA. See screenshot:
--gpu all
Additionally, unless sudo chmod 666 /var/run/docker.sock is run or a docker-users group is setup, docker needs to run as root. See screenshot:
sudo chmod 666 /var/run/docker.sock
The docker command needs
--gpu all
to run nvidia-smi and use CUDA. See screenshot:Additionally, unless
sudo chmod 666 /var/run/docker.sock
is run or a docker-users group is setup, docker needs to run as root. See screenshot: