whisper.rn 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cpp/ggml.c +5349 -5349
- package/cpp/ggml.h +810 -810
- package/cpp/whisper.cpp +518 -518
- package/cpp/whisper.h +2 -2
- package/package.json +1 -1
- package/whisper-rn.podspec +1 -1
package/cpp/whisper.h
CHANGED
|
@@ -515,8 +515,8 @@ extern "C" {
|
|
|
515
515
|
|
|
516
516
|
WHISPER_API int whisper_bench_memcpy (int n_threads);
|
|
517
517
|
WHISPER_API const char * whisper_bench_memcpy_str (int n_threads);
|
|
518
|
-
WHISPER_API int
|
|
519
|
-
WHISPER_API const char *
|
|
518
|
+
WHISPER_API int whisper_bench_wsp_ggml_mul_mat (int n_threads);
|
|
519
|
+
WHISPER_API const char * whisper_bench_wsp_ggml_mul_mat_str(int n_threads);
|
|
520
520
|
|
|
521
521
|
// Control logging output; default behavior is to print to stderr
|
|
522
522
|
|
package/package.json
CHANGED
package/whisper-rn.podspec
CHANGED
|
@@ -2,7 +2,7 @@ require "json"
|
|
|
2
2
|
|
|
3
3
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
4
|
base_ld_flags = "-framework Accelerate"
|
|
5
|
-
base_compiler_flags = "-
|
|
5
|
+
base_compiler_flags = "-DWSP_GGML_USE_ACCELERATE -Wno-shorten-64-to-32"
|
|
6
6
|
folly_compiler_flags = "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma"
|
|
7
7
|
|
|
8
8
|
# Use base_optimizer_flags = "" for debug builds
|