Fix OBS 32 compatibility and improve acceleration#34
Merged
Conversation
0af05df to
4e27b60
Compare
* Replace use of `circlebuf` with `deque` (renamed in OBS) * Replace use of `suppress_non_speech_tokens` with `suppress_nst` (renamed in whispercpp) * Update Whispercpp to v1.8.2 * Update ONNX runtime to v1.20.1 * Acceleration improvements for Linux and Windows * `generic` variants - Add Vulkan and OpenBLAS support (and OpenCL on Linux) * `nvidia` variants - Same as `generic` but also with CUDA support (and using CUDA OpenCL library on Linux) * `amd` variants - Same as `generic` but also with ROCm support via hipblas * Dynamic whisper backend loading to make maximum use of available CPU features and to support older CPUs
Why does it fail? Dunno. Why is it needed for Mac and Windows when it doesn't seem to be necessary with localvocal? Also dunno
4e27b60 to
41b0972
Compare
Owner
|
Well done @Tabby ! |
Collaborator
Author
Still needs testing (like, at all. I've made it build and that's it so far) but this is all the same code as is used in localvocal so it should work On the plus side it means all the work on updating whisper and adding more acceleration options can come to this plugin too, for free :) |
ddeacbc to
959e8ec
Compare
959e8ec to
a451a3a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
circlebufwithdeque(renamed in OBS)genericvariants - Add Vulkan and OpenBLAS support (and OpenCL on Linux)nvidiavariants - Same asgenericbut also with CUDA support (and using CUDA OpenCL library on Linux)amdvariants - Same asgenericbut also with ROCm support via hipblas