1 cuda10以前的
cd /usr/local/cuda-xx.x/bin/
sudo ./uninstall_cuda_xx.x.pl
sudo rm -rf /usr/local/cuda-xx.x
2 cuda10以后的
cd /usr/local/cuda-xx.x/bin/
sudo ./cuda-uninstaller
sudo rm -rf /usr/local/cuda-xx.x
3 下载
https://developer.nvidia.com/cuda-downloads
4 cudnn下载
https://developer.nvidia.com/rdp/cudnn-archive
sudo cp cuda/lib64
验证cudnn安装是否成功
cd NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery
make && ./deviceQuery
5 tensorrt下载 注意cuda cudnn还有ubuntu系统版本
https://developer.nvidia.com/nvidia-tensorrt-8x-download
官方命令,但是我自己从浏览器下载的,添加key再install
sudo dpkg -i nv-tensorrt-repo-${os}-${tag}_1-1_amd64.deb
sudo apt-key add /var/nv-tensorrt-repo-${os}-${tag}/7fa2af80.pub
sudo apt-get update
sudo apt-get install tensorrt
没成功安装容器吧 https://ngc.nvidia.com/catalog/containers/nvidia:tensorrt
|