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

doesnt detect amd gpu #1202

Closed
famo69 opened this issue Sep 6, 2023 · 6 comments
Closed

doesnt detect amd gpu #1202

famo69 opened this issue Sep 6, 2023 · 6 comments
Labels
stale 🪨话题搁置

Comments

@famo69
Copy link

famo69 commented Sep 6, 2023

hello im using the code to train some models but it says no gpu detected and it takes a while to finish help
my gpu is biostar amd rx 6800 16gb
ive also downloaded the version for amd gpus
NO GPU DETECTED: falling back to CPU - this may take a while

@Leynoxxx
Copy link

Leynoxxx commented Sep 6, 2023

Same with a 6750 xt

@little-brother
Copy link

At first you should run torch.cuda.is_available() to be sure that pytorch supports your GPU.
Then run torch.cuda.get_device_name() to get your GPU name.

import torch

print(torch.cuda.is_available())
print(torch.cuda.get_device_name()))

The next step is to edit infer-web.py: add the name on line 74.

It should be enough.

@famo69
Copy link
Author

famo69 commented Sep 9, 2023

what environment i run this on cmd or python or???

@little-brother
Copy link

little-brother commented Sep 9, 2023

It's a python code. You can run python and then execute commands line by line.

@mixern6
Copy link

mixern6 commented Sep 10, 2023

AMD is not supported at the moment

@github-actions github-actions bot added the stale 🪨话题搁置 label Apr 12, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 15 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale 🪨话题搁置
Projects
None yet
Development

No branches or pull requests

4 participants