-
Notifications
You must be signed in to change notification settings - Fork 433
Problem with change cuda device for "SUPIR_device" variable #132
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
Comments
I am having the same problem, did you solve it? @CruelBrutalMan |
@TrNgTinh Yes, I solved this problem.. but it doesn't seem like the right solution I set Unfortunately, I couldn't find another solution. |
Doesn't this expose only GPU id 1? And Maybe I'm misunderstanding. I have access to 4 GPUs that I'd like to utilize fully. How would you set that up? |
@yehiaabdelm I run multiple copies of a python script that differ in the lines: and thus, one script works with one GPU. so if you have 4 GPU, then you need to run 4 scripts. in addition to this, I made a "control" script that receives an input image, splits it into pieces, feeds these pieces into different scripts "input_folder", waits for the video cards to finish counting, receives a list of output images from each script (in folders "output_folder"), and finally combines all these pieces into one image. |
Uh oh!
There was an error while loading. Please reload this page.
I have a problem - when i change, for example
SUPIR_device = 'cuda:1'
Then I have an error
why this happens? I just change cuda device
Maybe I need to change the code somewhere and everything will work as it should? After all, specifying the required GPU is not such a difficult task, but in the current implementation it does not work
The text was updated successfully, but these errors were encountered: