Wav2Lip
Wav2Lip copied to clipboard
Added M1 GPU support
newer versions of pytorch support the mps device.
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?
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