mli / autocut

用文本编辑器剪视频
Apache License 2.0
6.72k stars 676 forks source link

How to solve the '[W NNPACK.cpp:53] Could not initialize NNPACK!' under apple silicon M2 MAX chip? #78

Closed shahryarsnite closed 1 year ago

shahryarsnite commented 1 year ago

After trying the input autocut -d 2023-03-06, I received the following message:

[autocut:transcribe.py:L37] INFO Transcribing 2023-03-06/230115.mp4 Using cache found in /Users/.cache/torch/hub/snakers4_silero-vad_master [W NNPACK.cpp:53] Could not initialize NNPACK! Reason: Unsupported hardware. zsh: segmentation fault autocut -d 2023-03-06

Is the failure happening because of the M2 chip since the message mentioned Unsupported hardware?

Thanks!

chenqianhe commented 1 year ago

I tested in M2 and did not find any such errors. Perhaps more information is needed