Gourieff / ReActor-UI

Fast and Simple Face Swap
GNU Affero General Public License v3.0
233 stars 29 forks source link

FaceSwapper speed #15

Open Ivanstrek opened 9 months ago

Ivanstrek commented 9 months ago

Hallo,

I have very low speed when swapper and enhencer are enabled. 1 frame/sec.

I use CUDA 11.8

image

alana314 commented 5 months ago

I'm also seeing CPU times being slightly faster than with CUDA 11.8, is that expected? Processing an image takes about 19 seconds with CPU on an AWS T2.xlarge, G4DN.xlarge, G4DN.2xlarge, and about 20 seconds on the G4DN.xlarge or G4DN.2xlarge. Thanks

JeremiLorenti commented 1 week ago

This is likely due to the small model/workload size. GPUs tend to show benefits for larger workloads that can better utilize their parallelism.