]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ruby : Add parallel transcription support (#3222)
authorKITAITI Makoto <redacted>
Wed, 4 Jun 2025 05:50:18 +0000 (14:50 +0900)
committerGitHub <redacted>
Wed, 4 Jun 2025 05:50:18 +0000 (14:50 +0900)
commit799eacdde40b3c562cfce1508da1354b90567f8f
treea51aa8e8fc206bc4afc03612a7a259ebb16aa777
parent82f461eaa4e6a1ba29fc0dbdaa415a9934ee8a1d
ruby : Add parallel transcription support (#3222)

* Fix indentation of code sample in document comment

* Make Whisper::Context#transcribe able to run non-parallel

* Add test for Whisper::Context#transcribe with parallel option

* Follow signature API change of Context#transcribe

* Remove useless variable assignment

* Move simple usage up in README

* Add need help section in README

* Add document on Context#transcribe's parallel option in README

* Update date

* Fix signature of Context.new

* Make Context#subscribe accept n_processors option

* Make test follow #transcribe's change

* Make RBS follow #transcribe's change

* Add document for #transcribe's n_processors option

* Rename test directory so that Rake tasks' default setting is used
33 files changed:
bindings/ruby/README.md
bindings/ruby/Rakefile
bindings/ruby/ext/ruby_whisper.c
bindings/ruby/ext/ruby_whisper_context.c
bindings/ruby/ext/ruby_whisper_transcribe.cpp
bindings/ruby/sig/whisper.rbs
bindings/ruby/test/helper.rb [new file with mode: 0644]
bindings/ruby/test/jfk_reader/.gitignore [new file with mode: 0644]
bindings/ruby/test/jfk_reader/extconf.rb [new file with mode: 0644]
bindings/ruby/test/jfk_reader/jfk_reader.c [new file with mode: 0644]
bindings/ruby/test/test_callback.rb [new file with mode: 0644]
bindings/ruby/test/test_error.rb [new file with mode: 0644]
bindings/ruby/test/test_model.rb [new file with mode: 0644]
bindings/ruby/test/test_package.rb [new file with mode: 0644]
bindings/ruby/test/test_params.rb [new file with mode: 0644]
bindings/ruby/test/test_segment.rb [new file with mode: 0644]
bindings/ruby/test/test_vad.rb [new file with mode: 0644]
bindings/ruby/test/test_vad_params.rb [new file with mode: 0644]
bindings/ruby/test/test_whisper.rb [new file with mode: 0644]
bindings/ruby/tests/helper.rb [deleted file]
bindings/ruby/tests/jfk_reader/.gitignore [deleted file]
bindings/ruby/tests/jfk_reader/extconf.rb [deleted file]
bindings/ruby/tests/jfk_reader/jfk_reader.c [deleted file]
bindings/ruby/tests/test_callback.rb [deleted file]
bindings/ruby/tests/test_error.rb [deleted file]
bindings/ruby/tests/test_model.rb [deleted file]
bindings/ruby/tests/test_package.rb [deleted file]
bindings/ruby/tests/test_params.rb [deleted file]
bindings/ruby/tests/test_segment.rb [deleted file]
bindings/ruby/tests/test_vad.rb [deleted file]
bindings/ruby/tests/test_vad_params.rb [deleted file]
bindings/ruby/tests/test_whisper.rb [deleted file]
bindings/ruby/whispercpp.gemspec