Using 2 different GPUs + CPU / RAM all together?

Talk about Hardware used for Deep Learning


Locked
User avatar
FuorissimoX
Posts: 56
Joined: Mon Sep 21, 2020 6:49 am
Location: Italy
Has thanked: 10 times
Been thanked: 2 times

Using 2 different GPUs + CPU / RAM all together?

Post by FuorissimoX »

Hi, I'm falling in love with your software and so I have many questions.

Speaking of hardware, I wonder these two things:

1) can I use 2 different GPUs in the same system? Does Faceswap use both of them even if they are different? (clearly I have to set batchsize divisible by 2). In practice I would continue to use my current R9 270X + RTX 2060 Super

2) why faceswap while using the GPU can't also use CPU and RAM? It would still help.

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: Using 2 different GPUs + CPU / RAM all together?

Post by bryanlyon »

Yes, you can use multiple GPUs but it's only worth it if they're the same GPU. AMD and Nvidia cannot be mixed.

A single 2060 super will be anywhere from 5-20x faster than your R9 270X.

Synchronizing multiple devices involves a lot of overhead. Sometimes (such as your AMD GPU and your CPU) would actually be slower than just running on the GPU alone.

CPU < AMD GPU < Nvidia GPU.

User avatar
FuorissimoX
Posts: 56
Joined: Mon Sep 21, 2020 6:49 am
Location: Italy
Has thanked: 10 times
Been thanked: 2 times

Re: Using 2 different GPUs + CPU / RAM all together?

Post by FuorissimoX »

Ok, at this point a buy 2 x RTX 2060 SUPER :lol: :lol: :lol: :lol:

Locked