Specify a GPU for SwapFace use?

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Post Reply
User avatar
Sentein
Posts: 1
Joined: Tue Feb 13, 2024 2:54 am

Specify a GPU for SwapFace use?

Post by Sentein »

I have a server with 3 GPUs in it. They are all the exact same GPU. Is there a way to specify which GPU is used by FaceSwap?

It looks like it is not supported but i will toss it in here. Can FaceSwap nvidia be used as a docker? If so is there a guide somewhere i may try to follow?

User avatar
torzdf
Posts: 2687
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 135 times
Been thanked: 628 times

Re: Specify a GPU for SwapFace use?

Post by torzdf »

Yes. The command line option -X (or the gui option exclude GPUs in the Global section of each page) lets you exclude GPUs for use in Faceswap.

We have .dockerfiles in our repo. You will need to mount some volumes for data/persisting config changes:
https://github.com/deepfakes/faceswap/b ... tall-guide

My word is final

Post Reply