Linux服务器安装cuda,cudnn,显卡驱动和pytorch超详细流程:https://blog.csdn.net/kingfoulin/article/details/98872965
nvcc和nvidia-smi显示的版本不一致?:https://www.jianshu.com/p/eb5335708f2a
一、先安装显卡驱动
二、再安装cuda:https://blog.csdn.net/wf19930209/article/details/81879514
下面说明安装成功:nvcc -V 有输出cuda版本
一个安装cuda11.1 的例子:
https://blog.csdn.net/DIVINER_Feng/article/details/123159787
https://developer.nvidia.cn/cuda-downloads