-
Good evening, I just installed a second GPU into my machine, a RTX 3060 with 12gb VRAM. This is a significant improvement over my 2070S with only 8gb VRAM that it has to share with Windows. But I can't figure out how to actually select it. There's nothing in settings. I have tried every solution I could find by googling, such as:
Notably, if I try to do something like --device-id=2, the software (correctly) throws an error. This means that it DOES recognize there is a second GPU and that I have selected it, but chooses to ignore it for some reason and instead swap, with no error or reason, back to GPU0. So, any assistance would be lovely! All the previous solutions simply don't function. I appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
edit webui-user.bat like this: set CUDA_VISIBLE_DEVICES=0,1
set COMMANDLINE_ARGS=--device-id 1 |
Beta Was this translation helpful? Give feedback.
-
Solution found. For some reason, webui sees the video cards as the other way around. Despite my 2070 being GPU 0 and my 3060 being GPU 1 in Windows, using --device-id=0 uses GPU1, while --device-id=1 uses GPU0. No idea why, but that was the solution. |
Beta Was this translation helpful? Give feedback.
-
i try the same but always take the first GPU (Intel HD) not Nvidia dedicate in my laptop |
Beta Was this translation helpful? Give feedback.
Solution found. For some reason, webui sees the video cards as the other way around. Despite my 2070 being GPU 0 and my 3060 being GPU 1 in Windows, using --device-id=0 uses GPU1, while --device-id=1 uses GPU0.
No idea why, but that was the solution.