Moore-AnimateAnyone icon indicating copy to clipboard operation
Moore-AnimateAnyone copied to clipboard

Mac (MPS) support?

Open cocktailpeanut opened this issue 2 years ago • 4 comments

Any plans to support MPS? Thanks!

cocktailpeanut avatar Jan 12 '24 19:01 cocktailpeanut

Yes, please consider this!

jet3004 avatar Jan 13 '24 00:01 jet3004

We haven't tested on Mac, so we're not sure if it will run. You can give it a try and welcome your feedbacks :)

lixunsong avatar Jan 13 '24 04:01 lixunsong

@lixunsong I got through the installation issues by installing eva-decord instead of decord and making some other adjustments, and also made some changes to the parts with "cuda" hardcoded https://github.com/cocktailpeanut/Moore-AnimateAnyone/commit/9a66b89fb044cbb726ac8859f8ce310e29af38ef, and got it to start, but when i try to run the inference it crashes running out of memory.

I was guessing that maybe it's not enough to simply change the device, but need to do some other things in addition? Didn't dig too deep into the code enough to understand what I need to do if there is a way. Let me know if there's something I could try!

cocktailpeanut avatar Jan 13 '24 12:01 cocktailpeanut

Hello @cocktailpeanut , I'm not sure the OOM error was cuased by the limit gpu VRAM. You can first run a smaller generation size, eg 256x256.

lixunsong avatar Jan 15 '24 07:01 lixunsong