whisper-cpp-python icon indicating copy to clipboard operation
whisper-cpp-python copied to clipboard

CoreML Support for Apple Silicon

Open chigkim opened this issue 1 year ago • 2 comments

I have M3 Max, and whisper-cpp-python doesn't seem to use the core ml feature. If I use whisper-cpp-python and the medium model to transcribe an audio file that's 3 minutes 30 seconds long, it takes 76 seconds. If I use whisper.cpp compiled with CoreML support and transcribe the same audio with the medium model, it takes 22 seconds. If I use faster whisper to transcribe the same audio with the medium model, it takes 69 seconds. How can I enable whisper-cpp-python to use core ml? Thanks so much!

chigkim avatar May 20 '24 01:05 chigkim

+1

cgrpa avatar Aug 07 '24 06:08 cgrpa

guess your whisper.cpp used in project should be compiled with proper flag, or maybe you could set such env variable. should see for details in the whisper.cpp README.md, looking for word CoreML

slavanorm avatar Oct 27 '24 18:10 slavanorm