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
请问是不是不支持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