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

No GPU Detected #63

Open
creepayou opened this issue Nov 17, 2020 · 3 comments
Open

No GPU Detected #63

creepayou opened this issue Nov 17, 2020 · 3 comments

Comments

@creepayou
Copy link

Hello everyone i am beginner in BERT and python, and managed to get this code running after some error fixes, but i had another one that i had no idea what to do on.
11/17/2020 18:05:04 - WARNING - root - Warning: There's no GPU available on this machine, training will be performed on CPU.
11/17/2020 18:05:04 - WARNING - root - Warning: The number of GPU's configured to use is 0, but only 0 are available on this machine.
Why does it not detect any GPU on my machine even though i have an AMD GPU installed? And if it does detect, how do i set it to use that GPU?

Thanks beforehand.

@lonePatient
Copy link
Owner

if torch.cuda.is_available() is true, modify parser.add_argument("--n_gpu", type=str, default='0', help='"0,1,.." or "0" or "" ')

@creepayou
Copy link
Author

Sadly use AMD GPU so it returns false. Is there no way to run this code on AMD GPU? Thanks for the answer!

@gitezri
Copy link

gitezri commented May 1, 2023

AMD GPU Intel GPU
High performance Low cost
Higher clock speed More efficient
Less power consumption Improved graphics
Lower price Better driver support
Good driver support Higher price"

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