whisper.cpp
ruby : add `Whisper::Context::Params`, fix token memory management
#3647
Merged

ruby : add `Whisper::Context::Params`, fix token memory management #3647

KitaitiMakoto
KitaitiMakoto Don't convert to temporary VALUE
dee66e73
KitaitiMakoto Define Whisper::Context::Params
5a325948
KitaitiMakoto Add test for Whisper::Context::Params
1ea4456e
KitaitiMakoto Implement Whisper::Context::Params
ff7a680b
KitaitiMakoto Add tests for Context::Params
26903def
KitaitiMakoto Fix Whisper::Token memory management
56278c6f
KitaitiMakoto Add test for token_timestamps
f376ebf0
KitaitiMakoto Make Context accept Context::Params
41d5f197
KitaitiMakoto Make Context::Params.new accept keyword args
f2d65cad
KitaitiMakoto Add test for Context::Params.new with keyword args
1432fdb1
KitaitiMakoto Add signature of Context::Params
1b8fdbc7
KitaitiMakoto Add example for Whisper::Token
086ec320
KitaitiMakoto Fix typos
abc012b3
KitaitiMakoto Revert "Don't convert to temporary VALUE"
e0dcb1bb
KitaitiMakoto Hold Token#text as Ruby objectd
9d5db868
KitaitiMakoto Don't use pointer for ruby_whisper_context_params.params
c05e9e12
KitaitiMakoto Use RUBY_DEFAULT_FREE instead of custom function
78a81d09
danbev
danbev approved these changes on 2026-02-04
KitaitiMakoto Update bindings/ruby/README.md
0fae6e13
KitaitiMakoto Add document for Whisper::Context::Params
fb523eb6
KitaitiMakoto
KitaitiMakoto KitaitiMakoto merged 941bdabb into master 51 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone