Commit graph

148 commits

Author SHA1 Message Date
newfla
747f71da57 doc: added dtw-callback disclaimer 2025-03-03 17:01:29 +01:00
newfla
278df9b843 Revert "fix: segment_callaback logic"
This reverts commit 684ec8e733.
2025-03-03 16:53:36 +01:00
newfla
684ec8e733 fix: segment_callaback logic 2025-02-25 15:56:16 +01:00
Niko
745336dd6d
Merge remote-tracking branch 'origin/master' 2025-02-24 12:11:01 -07:00
Niko
f75aff9659
Fix doc indents 2025-02-24 11:49:55 -07:00
Martin Mende
54799643e2
Exposing GGMLLogLevel for custom log callbacks (#203)
* Made GGMLLogLevel public
2025-02-21 22:23:21 +00:00
Niko
9a96b0e1c3
Convert full_get_segment_* and similar to use an internal helper instead of duplicating code 2025-02-18 17:30:53 -07:00
Niko
099faf4e2e
Convert full_get_token_* and similar to use an internal helper instead of duplicating code 2025-02-18 17:30:53 -07:00
Niko
dc0c6319a6
Merge pull request #200 from tazz4843/update-logging
Make logging generic across backends and simplify logging code
2025-02-18 12:00:27 -07:00
Christian Meter
b752731e83
Re-add suppress_nst function with shorter fn name 2025-02-13 18:05:09 +01:00
Niko
03351b5f9c
Fix Windows being special again 2025-02-10 14:14:20 -07:00
Niko
1db502bc1a
Make logging generic across backends and simplify the code 2025-02-10 14:02:19 -07:00
Christian Meter
39cf1f4d40
Remove deprecated method for suppressing non-speech tokens in FullParams 2025-01-28 15:23:59 +01:00
Christian Meter
263d5fd702
Merge remote-tracking branch 'fork/dev' 2025-01-28 14:12:52 +01:00
thewh1teagle
fab85025be
update whisper.cpp to 7fd8d9 2024-11-27 18:25:22 +02:00
newfla
c1c2377456 feat: large v3 turbo dtw preset 2024-11-23 19:50:38 +01:00
arizhih
21f236d1da Remove ggml_backend_metal_log_set_callback. Removed in
cf977670e6 while unified backend logging mechanism
2024-10-11 11:30:46 +02:00
Stephen M. Coakley
fe9ffb8030 Expose whisper.cpp version as a static string
Add a `WHISPER_CPP_VERSION` static that contains the version number of whisper.cpp that whisper-rs was built with. This can be useful for downstream applications for debugging and logging purposes.

This is implemented using [build script metadata](https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key) for whisper-rs-sys to expose the version number of whisper.cpp defined in `CMakeLists.txt` as metadata to crates that depend on it. Then whisper-rs accesses that build metadata and defines its own internal compile-time environment variable containing the same value, which is then assigned to a static variable.

It seemed better to expose this information through build metadata rather than defining a static in whisper-rs-sys directly, despite the extra indirection, so as to keep whisper-rs-sys as pure bindings.
2024-09-10 12:38:33 -05:00
Niko
8596d2d98c
Merge pull request #169 from arizhih/whisper-cpp-latest
feat: Add support for new whisper.cpp project structure
2024-09-01 23:15:18 +00:00
Niko
2ee68ff56c
Merge pull request #162 from thewh1teagle/feat/add-clone-to-params
feat: add clone to params
2024-09-01 23:12:03 +00:00
arizhih
a6d25d8797 Update whisper.cpp and docs 2024-08-21 10:46:32 +02:00
arizhih
ec609f18ff Add support for new whisper.cpp project structure
Remove opencl feature, removed in whisper.cpp
Add openmp feature and enable by default as in whisper.cpp
Update bindings
2024-08-08 15:55:47 +02:00
arizhih
bbdc8a07ef Fix lang_detect function 2024-07-10 10:24:25 +02:00
thewh1teagle
a5f516acfd
feat: add clone to params 2024-07-10 02:37:33 +03:00
Niko
f1030ef762
Merge pull request #148 from hlhr202/feature/fix-metal
Feature/fix metal
2024-06-03 04:42:17 +00:00
hlhr202
8872109d04 optim: use build config instead of copying metal file to target folder 2024-05-29 10:42:25 +08:00
hlhr202
3f27c17fdf Merge remote-tracking branch 'origin/master' into feature/fix-metal 2024-05-29 10:25:41 +08:00
thewh1teagle
c674b7e101
feat: add new segment callback bindings 2024-05-28 21:21:00 +03:00
arizhih
ce17f9a441 Re-export whisper_ahead 2024-05-18 00:06:53 +02:00
arizhih
0c8798c986 Use proper lifetimes, add DTW usage example 2024-05-17 14:47:58 +02:00
arizhih
482860d0d6 Pass aheads by reference, add dtw_mem_size param, rustfmt 2024-05-17 02:05:12 +02:00
arizhih
da6b410439 Add safe wrapper for raw dtw parameters 2024-05-16 18:58:48 +02:00
arizhih
dcfcbced18 Generate bindings + rustfmt 2024-05-16 15:29:38 +02:00
hlhr202
bf5a08dd1d fix: fmt 2024-05-16 14:10:03 +08:00
arizhih
f6826200fc Update whisper.cpp version to 1.6.0 2024-05-15 22:59:16 +02:00
arizhih
1160b1b94e
Merge branch 'tazz4843:master' into update-whisper-cpp 2024-05-07 13:36:30 +02:00
hlhr202
a440e7cb6f try fix metal log 2024-05-07 01:14:26 +08:00
hlhr202
4bc5709e58 fix: metal 2024-05-07 00:52:33 +08:00
jiahua
7281db5025 fix: rustfmt 2024-04-30 13:48:55 +08:00
jiahua
85edf85e5f refactor: remove deprecated fn 2024-04-30 13:47:05 +08:00
jiahua
e316c08f14 refactor: remove deprecated fn 2024-04-30 13:44:19 +08:00
jiahua
23d16f2858 fix: let context stateless, remove whisper_full_get_segment_speaker_turn_next from context, better to use the same fn in state 2024-04-30 09:34:38 +08:00
jiahua
e4f8910b1b fix: keep &mut self 2024-04-30 09:09:52 +08:00
jiahua
f30d0ea0a1 fix: rustfmt 2024-04-26 16:23:32 +08:00
jiahua
8b587b97a9 rename WhisperContext 2024-04-25 16:01:20 +08:00
jiahua
6e04f76e41 rename WhisperInnerContext 2024-04-25 16:00:36 +08:00
jiahua
5eef5afd5e wrap more functions 2024-04-25 15:55:17 +08:00
jiahua
9d978add9d refactor(state): create_state from whisper context wrapper 2024-04-25 15:33:06 +08:00
jiahua
74e83185bf refactor(state): remove lifetime binding from whisper context 2024-04-25 15:30:56 +08:00
arizhih
813a433a52 Update whisper.cpp version to 1.5.5 2024-04-23 17:13:07 +02:00