After intalling cuda-10.1, I realized that it doesn’t work with tensorflow 1.13.1, so I had to downgrade to cuda-10.0.
I tried for a very long time, and at the end seem to have purged 10.1 (sudo apt purge cuda*), and then installed 10.0 successfully. However, even after reboot, nvidia-smi still comes up with version 10.1.
I removed cuda.list before the purge, as well as cuda-10.1 dir under /usr/local.
nvcc –version now shows 10.0
How is Ubuntu 16.04 hanging on cuda-10.1?