tazz4843/whisper-rs

Metal fails on 10.x, works on master

carlosdp opened this issue · 1 comments

I saw a note that you were holding off until there were more patches before publishing 0.11, but I would recommend either publishing it anyways, or at least publish a fix version of 0.10 with the currently pinned version of whisper.cpp in order to fix Metal usage.

The 0.10.X version currently on crates.io has an older version of whisper.cpp that crashes on metal inference, this was fixed in December, but has not reached this crate yet, which lost me a few hours of work until I figured out what was going on 😅

Either way, hopefully others having this issue will see this and save some time: pin to the git project instead of the crates.io version and it'll work (you'll need to get the ggml-metal.metal from the pinned whisper.cpp commit and put it in your working directory to get it to work, though. Ideally this would be fixed, maybe I'll look at that some day)

The fix commit on whisper.cpp repo for reference: ggerganov/whisper.cpp#1633

0.11 published, pinning this issue nonetheless.