antgroup / echomimic

EchoMimic: Lifelike Audio-Driven Portrait Animations through Editable Landmark Conditioning
https://antgroup.github.io/ai/echomimic/
Apache License 2.0
3.07k stars 356 forks source link

无法在mac m2 安装? #135

Open xkyang1 opened 3 months ago

xkyang1 commented 3 months ago

请问是不是不支持MAC M2环境? 试了好几次还是一直有这个问题

Traceback (most recent call last): File "/Users/yangxk/ai_learn/EchoMimic/EchoMimic-main/infer_audio2vid.py", line 258, in main() File "/Users/yangxk/ai_learn/EchoMimic/EchoMimic-main/infer_audio2vid.py", line 112, in main vae = AutoencoderKL.from_pretrained( File "/opt/homebrew/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1174, in to return self._apply(convert) File "/opt/homebrew/lib/python3.10/site-packages/torch/nn/modules/module.py", line 780, in _apply module._apply(fn) File "/opt/homebrew/lib/python3.10/site-packages/torch/nn/modules/module.py", line 780, in _apply module._apply(fn) File "/opt/homebrew/lib/python3.10/site-packages/torch/nn/modules/module.py", line 805, in _apply param_applied = fn(param) File "/opt/homebrew/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1160, in convert return t.to( File "/opt/homebrew/lib/python3.10/site-packages/torch/cuda/init.py", line 306, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled