I have a version of these nodes working via MPS for those with macbooks. On my M1 Pro 32GB it took 60 seconds for 32 frames and 650 seconds for 600 frames. So about 1 second per animation frame.
Repo is here. I welcome all pull requests from other macbook users.
https://github.com/Grant-CP/ComfyUI-LivePortraitKJ-MPS
For @kijai I'm not sure that these changes can be added into the main as there are a few places where I changed numerical precision. So I would expect my version to have slightly worse performance. I am more than happy to talk about my changes if you want to start supporting MPS as a back end when you make nodes. Sorry for not forking correctly. I'm still learning how to use git.
I have a version of these nodes working via MPS for those with macbooks. On my M1 Pro 32GB it took 60 seconds for 32 frames and 650 seconds for 600 frames. So about 1 second per animation frame.
Repo is here. I welcome all pull requests from other macbook users.
https://github.com/Grant-CP/ComfyUI-LivePortraitKJ-MPS
For @kijai I'm not sure that these changes can be added into the main as there are a few places where I changed numerical precision. So I would expect my version to have slightly worse performance. I am more than happy to talk about my changes if you want to start supporting MPS as a back end when you make nodes. Sorry for not forking correctly. I'm still learning how to use git.