hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
34.93k stars 4.93k forks source link

Face Enhancer using directML not utilizing GPU #405

Open Syntoxr opened 3 weeks ago

Syntoxr commented 3 weeks ago

When using Face Enhance in live mode, only 2 cores of the CPU instead of the GPU (RX 7800 XT) are being used.

This has already been mentioned here, but I thought it would be cleaner to open a new issue.

Also, when using non enhance live mode, only around 50% of the GPU are being utilized while the frame rate isn't reaching the original one.

CPU: R7 7700X GPU: RX 7800 XT OS: Win 11 Python: 3.10.11

vodangtue commented 3 weeks ago

Because of GFPGANer use CUDA or CPU so I think when use face enhancer it will load with cpu. image image