-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Compile successfully, failed to run example. #95
Comments
Try #91. If it compiles I'll merge to upstream and do another release. |
It works fine for me. Great job! |
@garyhai Did you add the "metal" feature? Was there anything else you had to add to your |
@tazz4843 This is failing for me with the same error
I did some digging into the build process for whisper.cpp with metal. When I do a clean
This build process between sys/cpp and rust is a bit out of my depths. Do you think this info will help at all? |
I'm digging through |
In Cargo.toml, add the features. It works fine on my Mac mini with M1. Failed to run on my iMac with Intel CPU. whisper-rs = { git = "https://github.com/tazz4843/whisper-rs.git", features = ["coreml", "metal"] } Failure of iMac is because of low level whisper.cpp with bug to support AMD Radeon Pro 570. ggml_metal_init: allocating
ggml_metal_init: found device: AMD Radeon Pro 570
ggml_metal_init: picking default device: AMD Radeon Pro 570
ggml_metal_init: loading '/Users/gary/local/whisper.cpp/ggml-metal.metal'
...
...
ggml_metal_init: load pipeline error: Error Domain=CompilerError Code=2 "SC compilation failure
There is a call to an undefined label" UserInfo={NSLocalizedDescription=SC compilation failure
There is a call to an undefined label}
whisper_init_state: ggml_metal_init() failed
error: failed to initialize whisper context |
This is an upstream issue. The fie More info can be found at ggerganov/whisper.cpp#1397. |
Closed by #99? |
Yes, closed by #99 |
#99 merged and whisper-rs 0.10.0 released with this update, should be fixed now. If not, feel free to reopen. |
Everything is Ok in version 0.8.0.
Current master branch can pass build phase by
cargo build
.But failed to run example audio_transcription with link error. Tested on Apple macOS, both x86 and M1 CPU.
The text was updated successfully, but these errors were encountered: