整理几篇好用的cuda配环境教程,每次看到的质量参差不齐太痛苦了
顺便再补充点自己遇到的坑
0. 如果你不知道自己的显卡型号(针对的当然是没有装驱动的情况)
lspci | grep -i nvidia
05:00.0 VGA compatible controller: NVIDIA Corporation Device 1f02 (rev a1)
05:00.1 Audio device: NVIDIA Corporation Device 10f9 (rev a1)
05:00.2 USB controller: NVIDIA Corporation Device 1ada (rev a1)
05:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1adb (rev a1)
82:00.0 VGA compatible controller: NVIDIA Corporation Device 1f02 (rev a1)
82:00.1 Audio device: NVIDIA Corporation Device 10f9 (rev a1)
82:00.2 USB controller: NVIDIA Corporation Device 1ada (rev a1)
82:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1adb (rev a1)
看到里面有NVIDIA Corporation Device 10f9
复制10f9 到这个网站查询PCI Devices