Installed CUDA 10.0 on Ubuntu 18.04 with deb file. NVIDIA-SMI "couldn't communicate with NVIDIA driver".

  • install the driver from repo/ppa (sudo apt install nvidia-driver-430)
  • download the cuda .deb
  • add the repo to your system (first three steps from install instructions on download page)
  • don’t install cuda
  • instead, run sudo apt install cuda-toolkit-10-0