Wav2Lip icon indicating copy to clipboard operation
Wav2Lip copied to clipboard

Added M1 GPU support

Open erezak opened this issue 1 year ago • 2 comments

newer versions of pytorch support the mps device.

erezak avatar Jul 06 '23 19:07 erezak

Hi @erezak , wondering what version of M1 chip you're using and how you got around the OOM errors since MPS currently uses a lot of vRAM?

bruvduroiu avatar Jul 31 '23 08:07 bruvduroiu

in testing, this merge request causes performance issues. Long videos result in errors where the face cannot be detected. Very possible a result of the concern raised by @bruvduroiu

However, when this works it results in a 10x performance improvement. A code revision to support M1 optimization while still within the operating limits of the system would be a huge improvement for mac silicon users as this architecture is increasingly growing in market share

rosho92 avatar Nov 27 '23 07:11 rosho92