whisper.cpp/examples
Jhen-Jie Hong 0463028bc2
whisper : add context param to disable gpu (#1293)
* whisper : check state->ctx_metal not null

* whisper : add whisper_context_params { use_gpu }

* whisper : new API with params & deprecate old API

* examples : use no-gpu param && whisper_init_from_file_with_params

* whisper.objc : enable metal & disable on simulator

* whisper.swiftui, metal : enable metal & support load default.metallib

* whisper.android : use new API

* bindings : use new API

* addon.node : fix build & test

* bindings : updata java binding

* bindings : add missing whisper_context_default_params_by_ref WHISPER_API for java

* metal : use SWIFTPM_MODULE_BUNDLE for GGML_SWIFT and reuse library load

* metal : move bundle var into block

* metal : use SWIFT_PACKAGE instead of GGML_SWIFT

* style : minor updates

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2023-11-06 11:04:24 +02:00
..
addon.node whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
bench whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
bench.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
command whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
command.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
lsp whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
main whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
quantize quantize : fix load vocab crash when len is 128 (#1160) 2023-08-06 11:04:42 +03:00
stream whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
stream.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
talk whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
talk-llama whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
talk.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
whisper.android whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
whisper.nvim examples : vim plugin and LSP server (#1144) 2023-08-27 21:35:06 +03:00
whisper.objc whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
whisper.swiftui whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
whisper.wasm whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
CMakeLists.txt examples : vim plugin and LSP server (#1144) 2023-08-27 21:35:06 +03:00
common-ggml.cpp ggml : sync latest ggml lib 2023-06-25 14:30:44 +03:00
common-ggml.h whisper : add integer quantization support (#540) 2023-04-30 18:51:57 +03:00
common-sdl.cpp examples : refactor in order to reuse code and reduce duplication (#482) 2023-02-15 19:28:10 +02:00
common-sdl.h examples : refactor in order to reuse code and reduce duplication (#482) 2023-02-15 19:28:10 +02:00
common.cpp sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
common.h sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
dr_wav.h refactoring : move main + stream in examples + other stuff 2022-10-25 20:53:48 +03:00
generate-karaoke.sh minor : add comment for using "generate_karaoke.sh" 2022-11-26 10:22:42 +02:00
helpers.js whisper : add integer quantization support (#540) 2023-04-30 18:51:57 +03:00
livestream.sh livestream.sh : run main with model arg instead of default (#453) 2023-01-27 01:13:31 +02:00
twitch.sh twitch.sh : various fixes and polishing 2022-12-08 19:20:04 +02:00
yt-wsp.sh yt-wsp.sh : print help on empty args 2023-02-18 09:42:31 +02:00