Niko
65ec4d34ec
Clean up module directory layout
2025-09-29 12:33:54 -07:00
Niko
8bf0602e24
Implement Send + Sync for WhisperVadContext
...
All data stored internally on this struct appears to be similar to what's stored on WhisperContext so this should also be threadsafe.
2025-09-10 19:15:58 -07:00
Niko
d966ab1602
Update bindings and bump -sys version
2025-09-10 15:35:37 -07:00
Niko
f2e3eb397d
Bump whisper-rs version
2025-09-10 15:32:29 -07:00
Niko
64bc1f1384
Add VAD example
2025-09-10 15:28:47 -07:00
Niko
7e116dfb29
Fix UB in WhisperVadSegments
2025-09-10 15:28:40 -07:00
Niko
5f054c94b7
Explicitly set CMAKE_BUILD_TYPE always
2025-09-06 12:28:21 -07:00
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
43e31a7345
Bump versions of crates
2025-08-16 00:22:33 -07:00
Niko
c327ec699b
Simplify if conditional in audio_transcription example
2025-08-15 23:38:03 -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
4ed94c2831
Fix up audio_transcription example
2025-08-15 21:14:11 -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
68fabfc95d
Add comments to basic_use example and fix README example
2025-08-13 01:40:43 -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
527bb059dc
Fix up full_usage example
2025-08-02 19:47:58 -07:00
Niko
a9dea32c81
Fix up audio_transcription example
2025-08-02 19:42:32 -07:00
Niko
3d70621a51
Fix up basic_use example
2025-08-02 19:39:05 -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
35ccb56e7f
Merge branch 'v1.7.6-update'
2025-08-02 14:43:19 -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
Niko
b202069aa8
Bump crate versions
2025-07-29 18:13:02 -07:00
Niko
6de1119a79
Add PR template and note to README about said template
2025-07-29 17:55:46 -07:00
Niko
2cdb117101
Merge remote-tracking branch 'origin/master'
2025-07-29 17:22:13 -07:00
Niko
e3dc30a7a8
Migrate to Codeberg
2025-07-29 17:22:05 -07:00
Niko
a812820ec1
Merge pull request #234 from ed10vi/arm-fix
...
Fix wrong type on aarch64
2025-07-17 11:11:52 -07:00
Niko
cba7238515
Merge pull request #233 from kerkmann/sycl
...
feat: add intel sycl support
2025-07-17 11:11:36 -07:00
Eduardo Diez Viñuela
9f6b693415
Fix wrong type on aarch64
2025-07-04 12:23:47 +02:00
Daniél Kerkmann
5cbca18263
feat: add intel-sycl support
...
Adding Intel Sycl with the feature flag `intel-sycl` to it. Static
linking the intel sycl isn't possible, that's the reason why it's
dynamic linked.
2025-06-27 14:42:23 +02:00
Niko
e3d67d513b
Bump whisper-rs to 0.14.3
2025-06-07 23:51:46 -07:00
Niko
331b683cf0
Bump bindings to v1.7.5 of upstream whisper.cpp
2025-06-07 23:46:02 -07: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
Niko
1491bd63eb
Merge pull request #230 from lacoonte/add-advapi32-win
...
fix: windows build failing due to missing advapi32
2025-06-07 23:25:27 -07:00
Niko
3c37ed2271
Merge pull request #220 from rasteiner/fix/progress-callback-crash
...
Fix/progress callback crash
2025-06-07 23:24:52 -07:00
Niko
83428a939a
Merge pull request #221 from jarjee/fix_correct-hipblas-build
...
fix: Correct broken hipblas build
2025-06-07 23:24:23 -07:00
Niko
35adcfdbb3
Merge pull request #223 from mz2/fpic-fix
...
Fix CUDA linking error by ensuring -fPIC for position-independent code
2025-06-07 23:24:06 -07:00