-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Failed to run on Mac mini M4 with Metal #2802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seeing the same issue here on an M1 Pro. |
Turned out for me I had the regular base model installed but was trying to use the medium CoreML model I built. They need to match (obviously)! |
I found that building and running on the macOS system drive does not appear kernel errors and works fine, but I hope it can also run on an external drive. |
Yes, moving from an external to the boot drive on my Mac solved the issue for me too. Building on my startup disk, not an external SSD, also fixed an issue I had with compiling with CoreML. The CoreML version would compile but the Metal backend would fail to load at runtime and while the CoreML appeared load and run, it was using CPU only and rather slow. Both CoreML and Metal are using my GPU now that I have compiled with the source on my startup disk. |
Hi there,
I built whisper.cpp by following the
Quick start
guide on my Mac mini M4 and tested it with thetiny.en
model.The building process was successful, but when executing the
whisper-cli
program, it throws thousands of lines of errors related toggml_metal_init
and kernel.I've attached the entire log of
whisper-cli
for this issue. Please check it out.run.stderr.log
run.stdout.log
CMake log:
Part of whisper-cli log:
The text was updated successfully, but these errors were encountered: