CSA icon indicating copy to clipboard operation
CSA copied to clipboard

cuda runtime error (38) : no CUDA-capable device is detected

Open shikaichao-hub opened this issue 4 years ago • 3 comments

我按照自述文件所说,在Linux系统里安装了cuda 10.0后运行代码出现了cuda runtime error (38) : no CUDA-capable device is detected。我搜索了网上的方案后均无法解决请问你能帮帮我吗?

shikaichao-hub avatar Mar 22 '21 12:03 shikaichao-hub

Please check whether your computer has Nvidia GPUs and whether you have installed the corresponding graphic card driver.

MasterBin-IIAU avatar Mar 23 '21 11:03 MasterBin-IIAU

no CUDA-capable device is detected at /opt/conda/conda-bld/pytorch_1544199946412/work/torch/csrc/cuda/Module.cpp:34

shikaichao-hub avatar Mar 24 '21 03:03 shikaichao-hub

我按照自述文件所说,在Linux系统里安装了cuda 10.0后运行代码出现了cuda runtime error (38) : no CUDA-capable device is detected。我搜索了网上的方案后均无法解决请问你能帮帮我吗?

虚拟机无法使用CUDA,请确保你是用的不是虚拟机。

wangyichen191 avatar Sep 15 '22 13:09 wangyichen191