Andrii Kotliar
7d20c51808
Returned old bindings
2024-01-08 11:20:56 +01:00
thewh1teagle
3fe56418ad
fix windows gnu build
2024-01-08 05:52:29 +02:00
Andrii Kotliar
e195c885a1
Add whisper_lang_str_full function to whisper-rs
2024-01-08 01:24:38 +01:00
Andrii Kotliar
22bf23a168
Update whisper.cpp version to 1.5.4
2024-01-08 00:29:13 +01:00
Niko
5061acff43
Don't enable force-debug by default
2023-12-15 21:23:14 -07:00
Niko
b5cddefcfa
Add flag to force debug mode
2023-12-15 21:20:39 -07:00
Niko
755d9e590f
Switch from Debug to RelWithDebugInfo
...
Debug builds are simply too slow to be remotely usable even on a 13700K,
or with an Intel Arc A770 GPU
(both tested to be unusable for anything approaching realtime)
2023-12-15 21:09:04 -07:00
Niko
fdf5ded360
Add debug info if Rust code is compiled with debug assertions
2023-12-15 16:15:12 -07:00
Niko
feacac6931
include required files to build
2023-11-26 17:43:32 -07:00
Niko
4ea2484d91
Fix missing commit
2023-11-16 19:05:45 -07:00
Niko
8690d35deb
Update whisper.cpp to v1.5 and add all structs
2023-11-16 18:56:50 -07:00
Niko
ba1b79138e
cargo fmt
2023-10-27 08:17:11 -06:00
Niko
ccccfe758d
Incorporate changes from sandbox-friendly PR
2023-10-27 08:16:09 -06:00
Niko
ace4bbd18a
Merge branch 'master' into metal-feature-flag
...
# Conflicts:
# sys/build.rs
2023-10-27 08:13:17 -06:00
Patsakula Nikita
0b5a74a16c
[*] Sandbox-friendly build implemented.
...
* CMake machinery simplified.
* Build artifacts not stored in source directories anymore.
2023-10-15 17:32:37 +03:00
Niko
74dd93bf54
cargo fmt
2023-10-09 17:05:05 -06:00
Niko
253ac1bb6f
Add a feature flag for Metal acceleration support
2023-10-09 17:02:54 -06:00
Niko
1b60556910
Merge remote-tracking branch 'origin/master'
2023-10-08 15:40:34 -06:00
Niko
bbe7e9e9ed
Bump -sys version to 0.7.2
2023-10-08 15:40:24 -06:00
Niko
0f3a7c4533
Fix Metal build
2023-10-08 15:40:11 -06:00
Niko
174e111ebc
Merge pull request #90 from marmistrz/openblas
...
Add an OpenBLAS feature
2023-10-08 14:40:46 +00:00
Niko
3fd60107d4
Merge pull request #89 from marmistrz/whisper.cpp
...
Update whisper.cpp
2023-10-08 14:38:01 +00:00
Marcin Mielniczuk
99ebf2bea5
Add an OpenBLAS feature
2023-10-08 14:11:07 +02:00
Marcin Mielniczuk
f79bc283d3
Update whisper.cpp
2023-10-08 08:59:17 +02:00
Niko
9c1d85bcda
Bump -sys version to 0.7.1
2023-10-07 09:28:22 -06:00
Niko
1d5e929252
Add whisper.cpp/ggml-metal.metal to include array
2023-10-07 09:27:58 -06:00
Niko
16c02e927e
Add whisper.cpp/ggml-alloc.* to include array
2023-10-06 22:15:29 -06:00
Niko
3350ae41fb
Bump -sys version to 0.7.0
2023-10-06 22:12:35 -06:00
Niko
4b45810dca
Update whisper.cpp
2023-10-06 21:49:40 -06:00
Niko
d6da605de1
Revert "Add OpenVINO support"
...
This reverts commit 5c140c14
2023-10-06 21:09:23 -06:00
Niko
e6cbc75430
fix broken build
2023-09-25 08:55:09 -06:00
Zero
749c18cfee
cargo fmt
2023-08-28 17:09:46 -06:00
Zero
5c140c14d4
Add OpenVINO support
2023-08-28 16:41:25 -06:00
Zero
66f8aaeb86
Update whisper.cpp to 8e46ba80d3c1dcf532a0029f9bcdf99ce9ce7d40
2023-08-28 16:38:14 -06:00
Marcin Mielniczuk
d321f158b1
Expose the ggml functions in the bindings.
2023-08-20 21:27:41 +02:00
Zero
ba0cde2ea3
Revert "don't remove bindings/javascript/package.json, it's a committed file in whisper.cpp"
...
This reverts commit 46d8f47642 .
2023-06-18 10:14:50 -06:00
Zero
683787b6e2
update whisper-rs-sys to 0.6.1
2023-06-18 10:12:02 -06:00
Chris Rude
46d8f47642
don't remove bindings/javascript/package.json, it's a committed file in whisper.cpp
2023-06-05 15:42:37 -07:00
0/0
bf6d6fcf17
Merge pull request #60 from jnnnnn/cuda-windows
...
Fix windows cuda build
2023-05-29 14:24:40 +00:00
jnnnnn
a4e303ef3f
cfg_if
2023-05-29 19:17:48 +12:00
Jocelyn Stericker
0a8a791fad
Use position independent code (-fPIC)
...
This allows whipser-rs-sys to work when building a cdylib on x86 Linux
in certain conditions.
Without this change, linking can fail with:
```
= note: /usr/bin/ld: /.../target/debug/deps/libwhisper_rs_sys-d9be91f496c91a32.rlib(whisper.cpp.o): warning: relocation against `_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE@@GLIBCXX_3.4.21' in read-only section `.text.unlikely'
/usr/bin/ld: /.../target/debug/deps/libwhisper_rs_sys-d9be91f496c91a32.rlib(whisper.cpp.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
```
Note that this is one solution. I believe another would be to use the [cmake crate](https://github.com/rust-lang/cmake-rs ), which builds with `-fPIC` by default on Linux.
2023-05-28 11:04:25 -04:00
jnnnnn
ffa9655a06
fmt
2023-05-25 15:05:05 +12:00
Jonathan Newnham
435a736af1
Fix windows cuda build
...
* add ggml-cuda.cu
* sort out linker paths using CUDA_PATH
2023-05-25 14:26:14 +12:00
edef
31845bbe94
include ggml-opencl in the crate
...
The opencl feature can't possibly work without including the actual
code.
2023-05-19 22:14:23 +00:00
r3g_5z
e475c85234
make sure the user has CMake installed
...
Signed-off-by: r3g_5z <june@girlboss.ceo>
2023-05-14 16:58:37 -04:00
Zero
548934b91f
update whisper-rs-sys to v0.6.0
2023-05-14 14:30:14 -06:00
0/0
61124601d6
Merge pull request #51 from tazz4843/cuda-and-opencl-support
...
Add CUDA and OpenCL support
2023-05-14 20:28:49 +00:00
Zero
3c1db4023c
update whisper.cpp to v1.4.2
2023-05-14 14:27:37 -06:00
Zero
e207b9fce8
old change that was forgotten in bindings.rs
2023-05-14 14:26:51 -06:00
Zero
a089bb71f9
fix broken things from update
2023-05-14 14:01:38 -06:00