Page 1 of 1
Select between gpus?
Posted: Tue May 05, 2020 1:21 am
by lmcke169
My main gpu for video output and gaming is a gtx 1070 but I just got a tesla m40 for deepfakes. It works pretty good on deepfacelab where I can pick the gpu used but I cant find a way to do that in faceswap. It seems to default to my 1070 with no option to pick. I really need the m40 for this since it has 3x the vram. Thanks for any help!
Re: Select between gpus?
Posted: Tue May 05, 2020 8:21 am
by torzdf
You can expose which device is available to Faceswap by setting an environment variable prior to launching:
https://stackoverflow.com/questions/497 ... indows-cmd
Re: Select between gpus?
Posted: Wed May 06, 2020 2:02 am
by lmcke169
Thank you! I ended up editing the batch file with info from that link. I wasn't able to figure out how to know which gpu is which so I ended up taking 2 tries.
Re: Select between gpus?
Posted: Wed May 06, 2020 8:55 am
by torzdf
No problem.
I do plan to add this as an option one day, but as there is an easy workaround, it's not a priority (I only have 1 GPU
)