Merge branch 'update-whisper.cpp-7fd8d9' into dev
This commit is contained in:
commit
1f5b95aab5
4 changed files with 7 additions and 40 deletions
|
|
@ -4,7 +4,7 @@ exclude = ["examples/full_usage"]
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "whisper-rs"
|
name = "whisper-rs"
|
||||||
version = "0.13.0"
|
version = "0.13.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Rust bindings for whisper.cpp"
|
description = "Rust bindings for whisper.cpp"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
|
|
@ -37,6 +37,3 @@ test-with-tiny-model = []
|
||||||
whisper-cpp-log = ["dep:log"]
|
whisper-cpp-log = ["dep:log"]
|
||||||
whisper-cpp-tracing = ["dep:tracing"]
|
whisper-cpp-tracing = ["dep:tracing"]
|
||||||
openmp = ["whisper-rs-sys/openmp"]
|
openmp = ["whisper-rs-sys/openmp"]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
features = ["simd"]
|
|
||||||
|
|
|
||||||
|
|
@ -105,8 +105,6 @@ pub struct SystemInfo {
|
||||||
pub avx2: bool,
|
pub avx2: bool,
|
||||||
pub fma: bool,
|
pub fma: bool,
|
||||||
pub f16c: bool,
|
pub f16c: bool,
|
||||||
pub blas: bool,
|
|
||||||
pub cuda: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for SystemInfo {
|
impl Default for SystemInfo {
|
||||||
|
|
@ -117,8 +115,6 @@ impl Default for SystemInfo {
|
||||||
avx2: whisper_rs_sys::ggml_cpu_has_avx2() != 0,
|
avx2: whisper_rs_sys::ggml_cpu_has_avx2() != 0,
|
||||||
fma: whisper_rs_sys::ggml_cpu_has_fma() != 0,
|
fma: whisper_rs_sys::ggml_cpu_has_fma() != 0,
|
||||||
f16c: whisper_rs_sys::ggml_cpu_has_f16c() != 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,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "whisper-rs-sys"
|
name = "whisper-rs-sys"
|
||||||
version = "0.11.0"
|
version = "0.11.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Rust bindings for whisper.cpp (FFI bindings)"
|
description = "Rust bindings for whisper.cpp (FFI bindings)"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
|
|
@ -12,38 +12,12 @@ include = [
|
||||||
"whisper.cpp/bindings/CMakeLists.txt",
|
"whisper.cpp/bindings/CMakeLists.txt",
|
||||||
"whisper.cpp/CMakeLists.txt",
|
"whisper.cpp/CMakeLists.txt",
|
||||||
"whisper.cpp/cmake",
|
"whisper.cpp/cmake",
|
||||||
"whisper.cpp/src/coreml",
|
"whisper.cpp/src/**",
|
||||||
"whisper.cpp/src/CMakeLists.txt",
|
|
||||||
"whisper.cpp/src/whisper.cpp",
|
|
||||||
"whisper.cpp/include/whisper.h",
|
"whisper.cpp/include/whisper.h",
|
||||||
|
"whisper.cpp/ggml/cmake",
|
||||||
"whisper.cpp/ggml/CMakeLists.txt",
|
"whisper.cpp/ggml/CMakeLists.txt",
|
||||||
"whisper.cpp/ggml/src/CMakeLists.txt",
|
"whisper.cpp/ggml/src/**",
|
||||||
"whisper.cpp/ggml/src/ggml.c",
|
"whisper.cpp/ggml/include/*.h",
|
||||||
"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/LICENSE",
|
"whisper.cpp/LICENSE",
|
||||||
"src/*.rs",
|
"src/*.rs",
|
||||||
"build.rs",
|
"build.rs",
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit ca99645e20f45a7904771192122fc79a9871a109
|
Subproject commit 8c6a9b8bb6a0273cc0b5915903ca1ff9206c6285
|
||||||
Loading…
Add table
Add a link
Reference in a new issue