SadTalker icon indicating copy to clipboard operation
SadTalker copied to clipboard

Only Using CPU and not GPU

Open Maki9009 opened this issue 1 year ago • 4 comments
trafficstars

i installed it, but its only utilizing my CPU and not my GPU.. making very slow

Maki9009 avatar Mar 29 '24 11:03 Maki9009

same

RASPIAUDIO avatar Mar 31 '24 14:03 RASPIAUDIO

Have you installed the Cuda toolkit from NVidia ?

FMaz008 avatar Apr 07 '24 18:04 FMaz008

do a "pip freeze" and check your libraries, specifically looking at torch, torchaudio, etc.

They should say something like "torch==2.0.1+cu118"

It's common that the setup process installs torch without the cuda binding due to issues resolving dependencies. With sadtalker and a number of similar projects, I inevitably have to go back and ensure that the cuda version of pytorch got installed.

eoffermann avatar Apr 08 '24 02:04 eoffermann

same getting high cpu utilization

potatogun5000 avatar Apr 10 '24 07:04 potatogun5000