We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,我似乎无法使用GPU进行训练,我做了一些尝试但都没有奏效,很抱歉麻烦您,这或许是一个简单的问题,可他确实困扰了很久,希望可以得到您的帮助,告诉我我应该做什么更改呢?感谢您!
The text was updated successfully, but these errors were encountered:
请检查你的Pytorch版本和CUDA,及显卡驱动的版本是否一致,并在python解释器或终端中执行:
import torch torch.cuda.is_available()
如果是True, 则说明你的torch库和显卡的相关版本一致,torch可正常调用GPU,否则你安装的pytorch是有问题的!
附:
# torch版本 import torch torch.__version__ # cuda版本 $ nvcc # 显卡驱动版本 $ nvidia-smi -lms 200
Sorry, something went wrong.
No branches or pull requests
您好,我似乎无法使用GPU进行训练,我做了一些尝试但都没有奏效,很抱歉麻烦您,这或许是一个简单的问题,可他确实困扰了很久,希望可以得到您的帮助,告诉我我应该做什么更改呢?感谢您!
The text was updated successfully, but these errors were encountered: