Kitaiti Makoto
5287dddfb7
Extract Whisper::LogSettable
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
c60735207a
Fix Parakeet.log_set
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
6b47842126
NULL check for callback containers
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
989cba609c
ruby_whisper_parakeet_abort_callback_user_data -> ruby_whisper_abort_callback_user_data
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
b765ac43bb
Share parakeet full body function
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
693fefde42
Fix English
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
ae4d63ccd3
is_active -> is_open
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
2864933f8b
Gropu log_queue members
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
620a78aaa0
Early return from log_queue_enqueue when not active
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
d5e20de1a4
Don't call start_log_callback_thread unncecessarilly
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
49e6cf2dfb
Extract activate and deactivate of log_queue
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
cb669ef90f
Narrow scope of log constants
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
ed5887818c
Add more attributes of Parakeet::Context
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
49fb119116
Free ruby_whisper_parakeet_context
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
cc143b6e10
Fix ruby_whisper_parakeet_params_free
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
fd550f77ce
Implement Parakeet::Context#full
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
b3b9af63b2
Implement hooks for Parakeet
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
de505d23ad
Convert int to VALUE
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
94f327a67b
Implement some hooks of Parakeet::Params
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
10cf358ced
Define Parakeet::Segment#each_token
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
997470cfba
Define Parakeet::Token
2026-06-17 10:30:57 +09:00
Kitaiti Makoto
cc958f0af5
Add Parakeet.log_set
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
4f53fad54e
Make it to abort for Parakeet
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
ae88b19443
Run Parakeet::Context#transcribe without GVL
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
c2c12db7f7
Define Parakeet::Segment#deconstruct_keys
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
63d3136465
Define Parakeet::Segment attributes
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
bb096e54ac
Add Parakeet::Context#each_segment
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
6bcc09b911
Add Parakeet::Context#transcribe
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
6d2291dc8a
Prevent double-free
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
2cfefa926b
Add Parakeet::Segment
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
fdaf031858
Implement Parakeet::Context#initialize
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
8615ac87ec
Free parakeet_full_params
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
3bae1e2f1b
Reduce if
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
f55f3f347c
Check callback container in GetParakeetParams
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
a3515ac9fc
Fix typo
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
d051ab6261
Add hook methods to Parakeet::Params
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
c5894984b3
Simplify params registration
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
17bd819585
Remove unnecessary macros
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
1e7c734a1d
Fix memsize
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
09eff4d1ba
Use ITERATE_CALLBACK_PARAMS instead of ITERATE_USER_DATA_PARAMS
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
d051c08841
Use ITERATE_CALLBACK_PARAMS
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
cd0e91175a
Remove unused variable
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
b1dbf7452d
Define GetParakeetParams
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
f412e289ea
Undefine local macros
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
f39b100bb0
Group callback and user_data params
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
555569481c
Add callbacks to Parakeet::Params
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
703fe18e60
Remove unused variabel
2026-06-17 10:30:56 +09:00
Kitaiti Makoto
f3b2ed68e5
Add Whisper::Parakeet::Params
2026-06-17 10:30:56 +09:00
Daniel Bevenius
9efddafb91
parakeet : add support for NVIDIA Parakeet ( #3735 )
...
* parakeet : add support for NVIDIA Parakeet
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2026-06-16 20:44:10 +02:00
KITAITI Makoto
c81b2dabbc
ruby : transcribe without GVL, accept more MemoryViews, Windows support, fix memory size report, improve document ( #3775 )
...
* Change MemoryView example using NDAV
* Add note on audio attributes for #full and #full_parallel
* Support more variants of MemoryView
* Use IO.popen instead of Kernel.` for Windows compatibility
* Use cmake's -C option instead of multiple -D options
* Fix memsize calculation
* Remove unused argument
* Add is_interrupted field to abort callback container
* Fix RBS syntax
* Address document comment for RDoc
* Add .document for RDoc
* Add .rdoc_options
* Run #full without GVL
* Initialize callbacks with nil
* Specify implicity Whisper::Params to distinguish from Whisper::Context::Params
* Run callbacks without GVL
* Call log callback with GVL
* Run full_parallel without GVL
* Run transcribe without GVL
* Fix ruby_whisper_lock_gvl and ruby_whisper_unlock_gvl
* Fix return value of encoder_begin_callback
* Report GVL unlocking from transcribe
* Remove unused interface
* Restore overload of full_parallel
* Close process
* Fix struct name
* Make is_without_gvl thread local
* Use rb_thread_call_with_gvl instead of global variable
* Retrieve instance variable in GVL
* Narrow acceptable MemoryView format
* Fix option cache path
* Reduce files in package
* Use append_cflags
* Add ext/*.rb to task dependencies
* Use copy instead of cp
* Make TestPackage more portable
* Patch for lower version Ruby
* Make build scripts more portable
* Add Windows support
* Don't raise exceptions
2026-05-07 06:28:18 +02:00