Commit graph

171 commits

Author SHA1 Message Date
Niko
cb8f79d474
Merge pull request #206 from kusaanko/fix-compile-on-windows-no-english
Use UTF-8 to build whisper.cpp on Windows
2025-03-02 10:44:31 -07:00
Kusaanko
e3c289b6a4
Fix wrong cfg! for openblas 2025-02-28 18:51:28 +09:00
Kusaanko
dc4eace7e6
Fix to be able to compile with openblas 2025-02-28 18:45:59 +09:00
Kusaanko
60784be43a
Use UTF-8 to build sys on Windows 2025-02-28 01:00:12 +09:00
Niko
0de70d0e9d
Actually pull in new changes (whoops) and bump package versions 2025-02-24 12:12:16 -07:00
Niko
745336dd6d
Merge remote-tracking branch 'origin/master' 2025-02-24 12:11:01 -07:00
Niko
80c6c29bb2
Bump package versions 2025-02-24 12:10:27 -07:00
hyiip
c48629c172 fmt fixed 2025-02-19 03:11:51 +08:00
hyiip
3d33a73458 link cuda when cuda feature is on 2025-02-19 02:55:46 +08:00
Christian Meter
aaaa1ed361
Pin whisper.cpp to v1.7.4 2025-02-13 18:09:09 +01:00
Christian Meter
f9fe2acf95
Update submodule commit for whisper.cpp 2025-01-28 15:24:04 +01:00
Christian Meter
251a9e3c1d
Remove unnecessary blank line in build.rs 2025-01-28 15:17:34 +01:00
Christian Meter
90058a9068
Update submodule commit for whisper.cpp 2025-01-28 15:16:46 +01:00
thewh1teagle
a957d6ae6e Merge branch 'update-whisper.cpp-7fd8d9' into dev 2024-11-27 20:06:48 +02:00
thewh1teagle
ea9d6bc8bb
fix vulkan link 2024-11-27 19:40:26 +02:00
thewh1teagle
bb80bddc7c
Merge branch 'update-whisper.cpp-7fd8d9' into dev 2024-11-27 18:53:44 +02:00
thewh1teagle
029c1c424b
fix: link metal 2024-11-27 18:53:39 +02:00
thewh1teagle
8dee26138d
Merge branch 'update-whisper.cpp-7fd8d9' into dev 2024-11-27 18:46:19 +02:00
thewh1teagle
783a7858db
fix: link ggml 2024-11-27 18:46:08 +02:00
thewh1teagle
6b4cd34f0d
update whisper.cpp 2024-11-27 18:30:13 +02:00
thewh1teagle
fab85025be
update whisper.cpp to 7fd8d9 2024-11-27 18:25:22 +02:00
Niko
13f8a8d70a
Bump whisper-rs-sys minor version 2024-11-22 10:50:11 -07:00
newfla
20d6d8e937 fix: simplify whisper.cpp/ggml src include 2024-11-20 21:08:51 +01:00
newfla
002c552fd7 fix: include ggml sources 2024-11-14 15:08:36 +01:00
Niko
c2d3d497ac
Fix include errors 2024-11-05 23:41:37 -07:00
Niko
eb09788a1e
Update whisper.cpp to 0377596b77a3602e36430320cbe45f8c305ef04a 2024-11-05 23:15:45 -07:00
Niko
7593e86f08
Add missing ggml files 2024-11-05 22:52:05 -07:00
Niko
a34640c71f
Add missing ggml files 2024-11-05 22:49:55 -07:00
Niko
26b176525f
Patch versions for 0.13/0.11 release of main crate and -sys respectively 2024-11-05 22:44:53 -07:00
arizhih
cc92f1bcb1 Merge branch 'master' into whisper-cpp-1-7-x
# Conflicts:
#	sys/build.rs
2024-10-22 12:23:11 +02:00
Niko
95689c6b80
Merge pull request #175 from thewh1teagle/fix/link-coreml
fix: add search path for coreml on macOS
2024-10-21 23:54:24 +00:00
arizhih
4913e20b5d Explicitly link to libomp on MacOS 2024-10-14 16:21:39 +02:00
arizhih
2b550ba9ac Update whisper.cpp version to 1.7.1 2024-10-09 16:13:42 +02:00
flavio
d124152376 fix: macos vulkan build script 2024-09-17 15:26:44 +02:00
thewh1teagle
9cb98dcf53
fix: add search path for coreml on macOS 2024-09-14 00:56:01 +03:00
Niko
d8b6aefe06
Merge pull request #170 from thewh1teagle/feat/vulkan
Feat/vulkan
2024-09-13 21:07:32 +00: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
thewh1teagle
fdc290e37f
chore: update whisper.cpp 2024-08-21 16:28:08 +03:00
arizhih
a6d25d8797 Update whisper.cpp and docs 2024-08-21 10:46:32 +02:00
thewh1teagle
e33cc3eb22
feat: add vulkan with new whisper.cpp structure
Co-authored-by: newfla <newfla@hotmail.it>
2024-08-18 21:23:46 +03:00
arizhih
044e085555 Update whisper.cpp and bindings 2024-08-09 14:08:10 +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
thewh1teagle
67924ca473
fix: link openblas path correctly 2024-08-01 16:24:44 +03: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
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
flavio
ce71477a37 fix: fmt 2024-06-02 20:46:12 +02:00