最近我已经安装了,当我检查时cuda toolkit dev conda
我的系统正在报告No devices were found
nvidia-smi
我已经检查了系统中的 nvidia 工具
lsmod | grep nvidia
nvidia_uvm 1011712 0
nvidia_drm 53248 0
nvidia_modeset 1228800 1 nvidia_drm
nvidia 34156544 2 nvidia_uvm,nvidia_modeset
drm_kms_helper 217088 2 amdgpu,nvidia_drm
nvidiafb 53248 0
vgastate 20480 1 nvidiafb
fb_ddc 16384 1 nvidiafb
i2c_algo_bit 16384 2 nvidiafb,amdgpu
drm 552960 12 gpu_sched,drm_kms_helper,amdgpu,nvidia_drm,ttm
还有 ubuntu 驱动程序
sudo ubuntu-drivers devices
[sudo] password for dev:
== /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 ==
modalias : pci:v000010DEd00001F99sv000017AAsd00003A43bc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-driver-460-server - distro non-free
driver : nvidia-driver-460 - third-party non-free recommended
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-465 - third-party non-free
driver : xserver-xorg-video-nouveau - distro free builtin
我不知道我该怎么做才能运行我的 GPU
答案1
特定版本的 CUDA 与特定版本的驱动程序完全兼容,这简直是一场噩梦。但是 nvidia-smi 是驱动程序的一部分,而不是 CUDA。很难看出安装 CUDA 会如何搞砸它。我会卸载你安装的任何东西,看看会发生什么。