Replies: 6 comments 10 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.
-
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