Niko
0c509ec9c5
Fix inaccurate doc comment for C++ equivalent
2025-09-02 14:18:28 -07:00
Niko
3e6d3da162
Change return type of get_whisper_version ( closes #241 )
2025-08-19 21:48:24 -07:00
Niko
b376a1ef64
Update whisper.cpp to latest git ( closes #240 )
2025-08-19 16:06:50 -07:00
Niko
b07d20a3c1
Split out any functions that return a CStr or similar object into three returning all unique types of possible return value
2025-08-15 23:37:43 -07:00
Niko
67c343082b
Remove unused error handling
2025-08-13 13:19:04 -07:00
Niko
623e5a40cb
Remove inline attributes
2025-08-13 13:17:15 -07:00
Niko
96bbf7b89b
Add a quick entrypoint to the root docs
2025-08-13 01:42:49 -07:00
Niko
9162a2c502
Fix Clippy lint
2025-08-13 01:30:22 -07:00
Niko
814b2b836f
Make WhisperState::new unsafe
2025-08-13 01:27:28 -07:00
Niko
7e46c91cbd
Add docs to get_token and its unchecked variant
2025-08-13 00:53:44 -07:00
Niko
e34533731c
Add docs to no_speech_probability
2025-08-13 00:53:31 -07:00
Niko
ea1a762b41
Fix up Clippy lints
2025-08-13 00:52:54 -07:00
Niko
a840bdaa8b
Remove unnecessary error handling
2025-08-13 00:52:38 -07:00
Niko
e0b83e8248
Remove Default for SamplingStrategy and add docs
...
The default value was not a good choice whatsoever,
and forcing the user to choose makes them at least put thought into it,
especially with better documentation on it.
2025-08-02 19:32:26 -07:00
Niko
15e70ffd07
Refactor the entire token/segment usage
...
This was spurred by noticing a trivial case of UB in the original code:
all one needed was an out-of-bounds index on any of several methods with tokens or segment indexes on the state to cause UB.
I took this opportunity to consolidate methods into Rust structs that verify their index before use.
2025-08-02 18:45:42 -07:00
Niko
ac6b01dd91
Restructure to minimize the number of unsafe calls in VAD code
2025-07-30 17:42:24 -07:00
Niko
ef095214b7
Publicly export the VAD structs
2025-07-30 17:38:15 -07:00
Niko
1881e94b14
Fix unused Clippy lints
2025-07-30 17:38:03 -07:00
Niko
a1acc61a29
Remove unused lifetime
2025-07-30 17:37:28 -07:00
Niko
55e54212f1
Update whisper.cpp to v1.7.6
2025-07-30 17:04:48 -07:00
Eduardo Diez Viñuela
9f6b693415
Fix wrong type on aarch64
2025-07-04 12:23:47 +02:00
Niko
f9cf5062bf
Merge pull request #227 from gn64/feature/vulkan_device_list
...
Add Vulkan GPU enumeration support (related to #160 )
2025-06-07 23:30:07 -07:00
HidetoshiMatsuo
dac152cad4
Add vulkan device list function.
2025-05-13 14:19:45 +09:00
Roman Steiner
138020527c
Merge branch 'tazz4843:master' into fix/progress-callback-crash
2025-03-03 18:33:52 +01:00
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
Roman Steiner
4acdc92236
Merge branch 'tazz4843:master' into fix/progress-callback-crash
2025-02-28 17:26:42 +01:00
newfla
684ec8e733
fix: segment_callaback logic
2025-02-25 15:56:16 +01:00
Roman Steiner
6df9106aa3
typo 'progess' -> 'progress'
2025-02-25 10:52:06 +01:00
Roman Steiner
807bc242e9
box the progress callback closure - fixes #134
2025-02-25 10:50:32 +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