whisper.cpp/bindings/ruby/ext
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
..
.gitignore binding : fix ruby build by adding missing ggml-alloc (#1305) 2023-09-18 21:15:45 +08:00
extconf.rb sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
ggml-backend-impl.h sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
ggml-backend.c sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
ggml-backend.h sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
ggml-impl.h sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
ggml-quants.c sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
ggml-quants.h sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) (#1422) 2023-11-03 21:35:05 +02:00
ruby_whisper.cpp whisper : add context param to disable gpu (#1293) 2023-11-06 11:04:24 +02:00
ruby_whisper.h bindings : add Ruby (#500) 2023-02-15 19:46:55 +02:00