-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update whisper.cpp version to 1.6.2 #142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also regenerate bindings.rs. Given it was originally generated on a Linux machine, it should be regenerated on a Linux machine to minimize the diff. You can run bindgen -o src/bindings.rs wrapper.h -- -Iwhisper.cpp/
in /sys
to do so.
See review comments |
I've added wrapper, but really I don't know how to wrap whisper_rs_sys::whisper_aheads correctly because it contains pointers. |
I think now it safe and it's not possible to use it incorrectly. All raw int values are checked inside whisper.cpp on state creation step and error is returned if values are incorrect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last nit but besides that looks good. Thanks :)
@tazz4843 Hi, whisper.cpp released new minor version, nothing changed in API. I've decided to update my PR to the latest release. |
@arizhih |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry this took so long, been dealing with the end of the school year 🥴
Looks good to me, thanks :)
No description provided.