diff --git a/Cargo.toml b/Cargo.toml index 86a5089..5ea8246 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ exclude = ["examples/full_usage"] [package] name = "whisper-rs" -version = "0.13.0" +version = "0.13.1" edition = "2021" description = "Rust bindings for whisper.cpp" license = "Unlicense" @@ -37,6 +37,3 @@ test-with-tiny-model = [] whisper-cpp-log = ["dep:log"] whisper-cpp-tracing = ["dep:tracing"] openmp = ["whisper-rs-sys/openmp"] - -[package.metadata.docs.rs] -features = ["simd"] diff --git a/src/standalone.rs b/src/standalone.rs index 7319126..2b0d439 100644 --- a/src/standalone.rs +++ b/src/standalone.rs @@ -105,8 +105,6 @@ pub struct SystemInfo { pub avx2: bool, pub fma: bool, pub f16c: bool, - pub blas: bool, - pub cuda: bool, } impl Default for SystemInfo { @@ -117,8 +115,6 @@ impl Default for SystemInfo { avx2: whisper_rs_sys::ggml_cpu_has_avx2() != 0, fma: whisper_rs_sys::ggml_cpu_has_fma() != 0, f16c: whisper_rs_sys::ggml_cpu_has_f16c() != 0, - blas: whisper_rs_sys::ggml_cpu_has_blas() != 0, - cuda: whisper_rs_sys::ggml_cpu_has_cuda() != 0, } } } diff --git a/sys/Cargo.toml b/sys/Cargo.toml index 9d64457..0707ec2 100644 --- a/sys/Cargo.toml +++ b/sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "whisper-rs-sys" -version = "0.11.0" +version = "0.11.1" edition = "2021" description = "Rust bindings for whisper.cpp (FFI bindings)" license = "Unlicense" @@ -12,38 +12,12 @@ include = [ "whisper.cpp/bindings/CMakeLists.txt", "whisper.cpp/CMakeLists.txt", "whisper.cpp/cmake", - "whisper.cpp/src/coreml", - "whisper.cpp/src/CMakeLists.txt", - "whisper.cpp/src/whisper.cpp", + "whisper.cpp/src/**", "whisper.cpp/include/whisper.h", + "whisper.cpp/ggml/cmake", "whisper.cpp/ggml/CMakeLists.txt", - "whisper.cpp/ggml/src/CMakeLists.txt", - "whisper.cpp/ggml/src/ggml.c", - "whisper.cpp/ggml/src/ggml-aarch64.c", - "whisper.cpp/ggml/src/ggml-aarch64.h", - "whisper.cpp/ggml/src/ggml-alloc.c", - "whisper.cpp/ggml/src/ggml-backend-impl.h", - "whisper.cpp/ggml/src/ggml-backend.c", - "whisper.cpp/ggml/src/ggml-backend.cpp", - "whisper.cpp/ggml/src/ggml-cuda.cu", - "whisper.cpp/ggml/src/ggml-common.h", - "whisper.cpp/ggml/src/ggml-cpu-impl.h", - "whisper.cpp/ggml/src/ggml-impl.h", - "whisper.cpp/ggml/src/ggml-metal.m", - "whisper.cpp/ggml/src/ggml-metal.metal", - "whisper.cpp/ggml/src/ggml-quants.h", - "whisper.cpp/ggml/src/ggml-quants.c", - "whisper.cpp/ggml/include/ggml.h", - "whisper.cpp/ggml/include/ggml-alloc.h", - "whisper.cpp/ggml/include/ggml-backend.h", - "whisper.cpp/ggml/include/ggml-blas.h", - "whisper.cpp/ggml/include/ggml-cann.h", - "whisper.cpp/ggml/include/ggml-cuda.h", - "whisper.cpp/ggml/include/ggml-kompute.h", - "whisper.cpp/ggml/include/ggml-metal.h", - "whisper.cpp/ggml/include/ggml-rpc.h", - "whisper.cpp/ggml/include/ggml-sycl.h", - "whisper.cpp/ggml/include/ggml-vulkan.h", + "whisper.cpp/ggml/src/**", + "whisper.cpp/ggml/include/*.h", "whisper.cpp/LICENSE", "src/*.rs", "build.rs", diff --git a/sys/whisper.cpp b/sys/whisper.cpp index ca99645..8c6a9b8 160000 --- a/sys/whisper.cpp +++ b/sys/whisper.cpp @@ -1 +1 @@ -Subproject commit ca99645e20f45a7904771192122fc79a9871a109 +Subproject commit 8c6a9b8bb6a0273cc0b5915903ca1ff9206c6285