Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shikaichao-hub opened this issue Mar 22, 2021 · 3 comments
Open

Comments

@shikaichao-hub
Copy link

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

@MasterBin-IIAU
Copy link
Owner

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

@shikaichao-hub
Copy link
Author

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

@wangyichen191
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants