etc

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 해결

AlgoPoolJa 2021. 7. 15. 17:39

GCP나 AWS에선 nvidia-driver를 초기 설정부터 다운받은 상태로 인스턴스를 생성할 수도 있지만 그렇게 하지 않을 수 도 있다. 그럴경우 ubuntu 에선 아래와 같은 명령어를 치면 문제가 해결된다. 

  1. sudo apt-get update
  2. sudo apt-get install --no-install-recommends nvidia-384 libcuda1-384 nvidia-opencl-icd-384
  3. sudo reboot

Unable to install cuda (11.3) inside Ubuntu docker environment

sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken