Skip to content
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

怎样才能调用NVdia的显卡运行? #77

Closed
csncxf opened this issue Dec 22, 2020 · 2 comments
Closed

怎样才能调用NVdia的显卡运行? #77

csncxf opened this issue Dec 22, 2020 · 2 comments

Comments

@csncxf
Copy link

csncxf commented Dec 22, 2020

hello,hzwer你好,我的配置是1050ti4G i57300HQ 内存16G。按照usage run 的第一个案例输入指令运行的时候CPU占用100了,内存占用也很高。但是显存占用接近零。要怎样才能调动显卡运行呢?

@hzwer
Copy link
Owner

hzwer commented Dec 22, 2020

在 python 命令行中试一下 print(torch.cuda.is_available())
一般会显示 False
然后按照 pytorch 官网重装 pytorch

@csncxf
Copy link
Author

csncxf commented Dec 23, 2020

在 python 命令行中试一下 print(torch.cuda.is_available())
一般会显示 False
然后按照 pytorch 官网重装 pytorch

谢谢,已经搞定了!

@csncxf csncxf closed this as completed Dec 23, 2020
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

2 participants