Commit graph

371 commits

Author SHA1 Message Date
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
1f5800759c
Bump version to 0.9.0-rc.1 2023-10-06 22:11:04 -06:00
Niko
6e864d96b2
Merge pull request #85 from tazz4843/whisper-8e46ba8
Update `whisper.cpp` to 8e46ba8
2023-10-07 04:00:19 +00:00
Niko
4b45810dca
Update whisper.cpp 2023-10-06 21:49:40 -06:00
Niko
f2d528e3c1
Merge branch 'master' into whisper-8e46ba8 2023-10-06 21:09:58 -06:00
Niko
d6da605de1
Revert "Add OpenVINO support"
This reverts commit 5c140c14
2023-10-06 21:09:23 -06:00
Niko
078507576f
Fix clippy lint 2023-10-06 21:06:13 -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
6668c4e2aa
Add support for tdrz and debug mode 2023-08-28 17:04:38 -06:00
Zero
851fca36d7
Add new nosp token 2023-08-28 17:04:08 -06:00
Zero
5c140c14d4
Add OpenVINO support 2023-08-28 16:41:25 -06:00
Zero
776abc3c91
Fix typo 2023-08-28 16:41:17 -06:00
Zero
66f8aaeb86
Update whisper.cpp to 8e46ba80d3c1dcf532a0029f9bcdf99ce9ce7d40 2023-08-28 16:38:14 -06:00
0/0
3ca3a5deb6
Merge pull request #83 from marmistrz/ggml-bind
Safely expose some of the ggml_cpu_has... routines
2023-08-22 00:45:11 +00:00
Marcin Mielniczuk
0a85f8013a Safely expose some of the ggml_cpu_has... routines 2023-08-22 02:22:57 +02:00
0/0
ee69361df0
Merge pull request #81 from marmistrz/ggml-bind
Expose the ggml functions in the bindings.
2023-08-20 21:35:12 +00:00
Marcin Mielniczuk
d321f158b1 Expose the ggml functions in the bindings. 2023-08-20 21:27:41 +02:00
0/0
24e6a0025e
Merge pull request #79 from travolin/tweak/segment-vec-access
Add access to segment text as bytes
2023-08-18 02:07:38 +00:00
travolin
bdfbeb6c60 Add access to segment text as bytes 2023-08-17 17:09:26 -07:00
0/0
b7615db242
Merge pull request #77 from marmistrz/master
Add a rustified progress callback.
2023-08-13 04:37:53 +00:00
Marcin Mielniczuk
0e74df12a9 Improve the docs 2023-08-11 22:22:33 +02:00
Marcin Mielniczuk
ddabeb4c0b Add a rustified progress callback. 2023-08-11 15:10:50 +02:00
0/0
19f47dac39
Merge pull request #76 from fakecore/master 2023-08-01 04:35:46 +00:00
fakecore
81e1466784 feat: expose whisper_rs_sys::{whisper_context,whisper_state} for callback function 2023-08-01 00:57:57 +08:00
Zero
912e5a778f
Merge remote-tracking branch 'origin/master' 2023-07-22 17:44:29 -06:00
Zero
c36f54e7a6
fix broken nightly compilation with simd feature 2023-07-22 17:44:19 -06:00
0/0
68d9496924
Merge pull request #75 from wavey-ai/master
calculate mel.n_len as mel spectrogram stride len
2023-07-22 22:39:18 +00:00
jbrough
fcb477cc5e calculate mel.n_len as mel spectrogram stride len 2023-07-22 06:53:12 +01: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
0/0
2c8fd9cdc4
Merge pull request #66 from artob/improve-readme
Add instructions for running the examples
2023-06-18 15:59:12 +00:00
Arto Bendiken
6387ebed5f Add instructions for running the examples. 2023-06-18 18:19:33 +04:00
0/0
f1436c0d7b
Merge pull request #64 from chrisrude/master
don't remove bindings/javascript/package.json during build
2023-06-06 17:11:20 +00: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
9cffd74036
Merge pull request #63 from xandkar/sk/update-readme-example
Fix/update example in the README
2023-06-04 16:27:14 +00:00
Siraaj Khandkar
2a42c3f7cb Update example in README 2023-06-01 10:59:17 -04: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
0/0
192e37c53f
Merge pull request #62 from jocelyn-stericker/fpic
Use position independent code (-fPIC)
2023-05-29 02:14:13 +00: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
0/0
93f8d92d56
Merge pull request #59 from edef1c/include-ggml-opencl
include ggml-opencl in the crate
2023-05-20 15:22:18 +00: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
0/0
805dfcf36a
Merge pull request #57 from girlbossceo/patch-1
make sure the user has CMake installed
2023-05-14 21:04:11 +00:00