Replies: 7 comments 17 replies
-
Working on getting a gem published to rubygems so people can just
|
Beta Was this translation helpful? Give feedback.
-
@ggerganov I'm looking for good solution to interrupt whisper_full_parallel. In ruby we can wrap the call to this in an unlock method, since ruby has a global interpreter lock it is ideal to unlock while the c++ code runs allowing ruby to run other threads and even be interrupted via ctrl+c and other interrupt signals. It looks whisper_full_parallel calls whisper_full in each thread or just calls whisper_full, if there was a maybe volatile stop variable we added to the context then we could toggle that to false/0 and cause the while loop to break. thoughts? |
Beta Was this translation helpful? Give feedback.
-
am I missing something? It doesn't install here. I have
|
Beta Was this translation helpful? Give feedback.
-
just pushed a new gem at https://rubygems.org/gems/whisper.cpp |
Beta Was this translation helpful? Give feedback.
-
@oriolgual unfortunately not, currently |
Beta Was this translation helpful? Give feedback.
-
I would like to make GPU work, especially on my Mac machine (Apple silicon, Metal). But, I need learn many things such as building C/C++, Make, assembly, GPU (CUDA, Metal, ...), GGML and so on. For instance, I cannot understand Makefile to build examples/main/main.cpp. Learning takes time. Could someone work with GPU? Or, show me brief direction of learning? I found a document telling how to set some build flags: https://docs.ruby-lang.org/en/3.3/extension_rdoc.html#label-Prepare+extconf.rb |
Beta Was this translation helpful? Give feedback.
-
General discussion about the
ruby
bindings forwhisper.cpp
Current state: bindings/ruby
Initial merge: #500
CC: @taf2
Beta Was this translation helpful? Give feedback.
All reactions