Commit graph

354 commits

Author SHA1 Message Date
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
Niko
744804a8aa
Merge pull request #163 from arizhih/fix-lang-detect
fix: lang_detect not working properly
2024-07-17 18:57:21 +00:00
Niko
7634d3181f
Merge pull request #158 from thewh1teagle/feat/pass-cmake-flags
feat(sys): allow passing more cmake flags
2024-07-17 18:37:01 +00:00
arizhih
bbdc8a07ef Fix lang_detect function 2024-07-10 10:24:25 +02:00
arizhih
84522742da Enable WHISPER_DEBUG flag to get DEBUG logs on debug builds 2024-07-09 12:01:49 +02:00
thewh1teagle
d17e03caa6
cargo fmt 2024-06-08 00:54:14 +03:00
thewh1teagle
35aca74d64
feat(sys): allow passing more cmake flags 2024-06-07 22:23:53 +03:00
Niko
f1030ef762
Merge pull request #148 from hlhr202/feature/fix-metal
Feature/fix metal
2024-06-03 04:42:17 +00:00
Niko
b46876ae5a
Merge pull request #154 from newfla/hip_linux
feat: ROCm linux support
2024-06-02 19:00:16 +00:00
flavio
ce71477a37 fix: fmt 2024-06-02 20:46:12 +02:00
flavio
18d8a96d6e improved panic message 2024-06-02 12:43:14 +02:00
flavio
41d909f5ef rocm linux support 2024-05-31 09:58:48 +02:00
Niko
e6271bf0f3
Merge pull request #153 from thewh1teagle/feat/new-segment-callback
Feat/new segment callback
2024-05-29 15:07:51 +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
279bdcd33c
Merge branch 'master' into feat/new-segment-callback 2024-05-29 01:37:47 +03:00
Niko
9e07fba125
Merge pull request #152 from thewh1teagle/feat/pass-whisper-cmake-flags
feat(sys): pass whisper cmake flags from environment variables
2024-05-28 22:04:07 +00:00
Niko
d7c20844fd
Merge pull request #142 from arizhih/update-whisper-cpp
Update whisper.cpp version to 1.6.2
2024-05-28 22:01:50 +00:00
thewh1teagle
c674b7e101
feat: add new segment callback bindings 2024-05-28 21:21:00 +03:00
thewh1teagle
1f4c49ae68
Merge branch 'update-whisper-cpp' of https://github.com/arizhih/whisper-rs into feat/new-segment-callback 2024-05-28 21:09:11 +03:00
thewh1teagle
991a1aefa5
feat(sys): pass whisper cmake flags from environment variables 2024-05-28 21:04:03 +03:00
arizhih
ecd2b613db Update whisper.cpp version to 1.6.2 2024-05-27 12:16:41 +02: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
hlhr202
357e1228af Merge remote-tracking branch 'origin/master' into feature/fix-metal 2024-05-17 13:06:22 +08: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
Niko
233c7eec36
Merge pull request #138 from arizhih/linux-cuda-build
fix: Can't find libcuda when build with cuda feature on Linux
2024-05-15 22:24:01 +00: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
arizhih
3f7e43252c
Merge branch 'tazz4843:master' into linux-cuda-build 2024-05-07 13:14:14 +02:00
hlhr202
cd6a633fc5 try fix metal log 2024-05-07 01:26:42 +08: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
Niko
4dca14d5ec
Merge pull request #144 from XUJiahua/ctx-refactor
To improve the usability of WhisperState with Rust's borrow checker
2024-04-30 06:02:50 +00: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
jiahua
c1a37751dd fix(example): WhisperError::InputOutputLengthMismatch in example 2024-04-24 08:52:57 +08:00
arizhih
813a433a52 Update whisper.cpp version to 1.5.5 2024-04-23 17:13:07 +02:00