Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

app is really slow even upgrade to nvida 4080

Open prinzcala opened this issue 1 year ago • 5 comments

i thought it was my pc bcos it has graphic card of 2060. i bought new pc with graphic card of rtx 4080 with 32gb ram. after i run it python run.py --execution-provider cuda, To my surprise it was still slow. Can anybody pls help me.

prinzcala avatar Sep 22 '24 21:09 prinzcala

Set up your cuda environment with cudnn and add to path , I’m definitely sure that the cause and what’s your Vram? Because 32gb can just be your CPU RAM and not your VRam

MMbundles avatar Sep 23 '24 23:09 MMbundles

The issue you're experiencing is likely due to the fact that the code is not optimized for parallel processing, and the GPU is not being utilized efficiently.

Check the CUDA version: Make sure that the CUDA version installed on your system is compatible with the insightface library. You can check the CUDA version by running nvcc --version in your terminal.

vignesh1507 avatar Sep 24 '24 04:09 vignesh1507

i thought it was my pc bcos it has graphic card of 2060. i bought new pc with graphic card of rtx 4080 with 32gb ram. after i run it python run.py --execution-provider cuda, To my surprise it was still slow. Can anybody pls help me.

This is simply caused by the cuda version installed incompatible with the Insightface.

If you dont know your way around this , here's my whatsapp https://wa.me/message/GXQYWX4XRTXGB1 +2347081306010

Or you can just check for the cuda version and install the required

Updatedme avatar Sep 25 '24 12:09 Updatedme

i thought it was my pc bcos it has graphic card of 2060. i bought new pc with graphic card of rtx 4080 with 32gb ram. after i run it python run.py --execution-provider cuda, To my surprise it was still slow. Can anybody pls help me.

This is simply caused by the cuda version installed incompatible with the Insightface.

If you dont know your way around this , here's my whatsapp https://wa.me/message/GXQYWX4XRTXGB1 +2347081306010

Or you can just check for the cuda version and install the required

My cuda version is 11.8. I installed it in the same environment as Readme. Why am I also slow? How to check the CUDA version corresponding to InsightFace?

GabriellaMS avatar Sep 27 '24 06:09 GabriellaMS

I am also facing a similar issue when enabling the FACE-ENHANCER mode—it runs very slowly, and the GPU usage is almost negligible.

image

vipcafe avatar Nov 16 '24 08:11 vipcafe

We're on the process of making it almost realtime. Making sure it is stable before we release it on public. face_enhancer

The demo runs on 10GB GPU. We're still on the process of making it more stable before releasing.

hacksider avatar Dec 02 '24 04:12 hacksider