CUDA file missing after I update driver by Ubuntu Software and Update


Previously I installed Cuda and Cudnn by official instruction, and most files were under /usr/local/cuda or cuda-11/cuda-11/3.

Today I am trying to update my driver 465 to 470 becasue 465 is not compatible with suspend function in Ubuntu. After that, I can’t see my cuda file anymore, the strange thing is that I am still able to run my Tensorflow code over the GPU.