Skip to content
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

Update whisper.cpp version to 1.7.1 #181

Merged
merged 7 commits into from
Oct 24, 2024

Conversation

arizhih
Copy link
Contributor

@arizhih arizhih commented Oct 9, 2024

No description provided.

@jiabochao
Copy link

metal feature build error

   Compiling whisper-rs-sys v0.11.1 (https://github.com/arizhih/whisper-rs.git?branch=whisper-cpp-1-7-x#2b550ba9)
   Compiling whisper-rs v0.13.1 (https://github.com/arizhih/whisper-rs.git?branch=whisper-cpp-1-7-x#2b550ba9)
error[E0425]: cannot find function `ggml_backend_metal_log_set_callback` in crate `whisper_rs_sys`
    --> ~/.cargo/git/checkouts/whisper-rs-d212cb1821134a01/2b550ba/src/standalone.rs:88:29
     |
88   |               whisper_rs_sys::ggml_backend_metal_log_set_callback(log_callback, user_data);
     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ggml_backend_metal_set_abort_callback`
     |
    ::: ~/test-whisper/src-tauri/target/debug/build/whisper-rs-sys-8daef9ef206c3098/out/bindings.rs:8488:5
     |
8488 | /     pub fn ggml_backend_metal_set_abort_callback(
8489 | |         backend: ggml_backend_t,
8490 | |         abort_callback: ggml_abort_callback,
8491 | |         user_data: *mut ::std::os::raw::c_void,
8492 | |     );
     | |_____- similarly named function `ggml_backend_metal_set_abort_callback` defined here

For more information about this error, try `rustc --explain E0425`.
error: could not compile `whisper-rs` (lib) due to 1 previous error

@tazz4843
Copy link
Owner

Looks like merging old PRs introduced conflicts and I don't have the time as it stands to do much more besides simple checks and merges unfortunately.

@tazz4843 tazz4843 merged commit 82679b0 into tazz4843:master Oct 24, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

whisper-rs-sys fails to build on macOS Update whisper-rs to support Whisper.cpp v1.7.0
3 participants