* Make multiple MacOS variants targeting different Metal versions
Different MacOS versions support different maximum Metal versions. As we build on MacOS 14, it's
likely that when embedding the Metal shaders into the Metal backend they're being built for
Metal 3.1, the maximum supported version on MacOS 14. This may be why users are seeing crashes
when trying to use Metal on older versions of MacOS
This will also allow users of MacOS 15 and newer to take advantage of improvements from Metal 3.2
* Fix checking incorrect env var for MacOS version
* Update Whisper.cpp and add Linux acceleration (source builds only)
Update Whisper.cpp from v1.6.2 to v1.8.1
Supported Linux acceleration methods:
* CUDA
* hipblas
* Vulkan
* OpenCL
If suitable development libraries are installed for any of the above when building from source, then support for them
will be built into both whisper.cpp and the LocalVocal plugin
* Test behaviour with combinations of multiple backends
* Use found dependencies to decide which acceleration features to enable
Also try to build Whispercpp from source on Windows with acceleration (not working)
* Add GPU device selection option in plugin settings
Allows the selection of which GPU backend to use if more than one is
available, as well as disabling GPU backends in case the only
available ones don't work or are somehow slower than the CPU alone
* Add OpenCL support for Linux source build
* Comment out seemingly unused DISABLE_ONNX_RUNTIME_GPU option
* Update prebuilt Whisper deps to 0.0.9 (Whisper 1.8.2) and refactor cmake file
* Handle new GGML IGPU device type
* Bump whisper deps to 0.0.9-1 to fix hipblas
* Try to avoid running apt in CI when packages are cached
* Add option to enable/disable flash attention
* Install Vulkan SDK properly for CI build and try adding OpenCL and hip dev libs
* Build with shared libs on linux and allow use of dynamic backends
* Update deps to 0.0.10 (runtime module linking/importing is likely broken)
* Update deps to 0.0.10-2; try to fix linking & other platform specific issues
* Bump version number to 0.5.0
* Fix Ubuntu packaging
* Fix dynamic linking on MacOS
* Update README
* Cleanup CMake files a bit and make prebuilt build on Linux the default over full source build
* Fix Linux full source build
* Try caching ICU build prefix to speed up CI times
* Don't bother with Linux ICU cache
The Linux build spends most of its time installng packages with apt not building ICU
* Reduce ICU cache size by not including src dir
* Try caching linux apt packages
* Find cached ICU correctly
* Use specific version of cache-apt-packages-action
* Format CMakeLists.txt
* Fix checking of find_library vars
* Empty commit to check improved build times after caching
* Add qt base dev packages to cached CI packages
* Enable some CT2 backends on Linux
* Might as well enable OpenBLAS for whisper too
* Format cmake files
* Update README to add info about OpenBLAS now being a required dependency
* Fix OpenBLAS dependencies and linking for Ubuntu package
Stop using deprecated API functions that were removed in OBS v32 (See: https://github.com/obsproject/obs-studio/pull/12488)
* Use the return value from `obs_scene_add` instead of looking it up after creating it using the deprecated `obs_scene_sceneitem_from_source` function
* Use v2 sceneitem transform API instead of deprecated v1 API
* Change all uses of `circlebuf` to `deque` as it's been renamed in OBS
Additional bug fixes:
* Wait until scenes are loaded to create text source if it's missing. Previously the creation of the text source could fail due to there not being any scenes yet to create it in
* Fix build on MacOS and some Linux distributions
* Catch exceptions thrown by ONNX runtime and log an error instead of crashing
Other changes:
* Update OBS source dependencies
* OBS: 30.1.2 -> 31.1.1
* OBS deps: 2024-03-19 -> 2025-07-11
* Qt6 deps: 2024-03-19 -> 2025-02-04
* Update build files to more closely match the current plugin template repository
Fixes: #230Fixes: #227
* refactor: Update whisper model path and enable hipBLAS acceleration
* refactor: Update whisper model path and enable hipBLAS acceleration
* refactor: Update whisper model path and enable hipBLAS acceleration
* refactor: Update whisper model path and enable hipBLAS acceleration
* refactor: Update whisper model path and enable hipBLAS acceleration
* refactor: Update whisper model path and enable CoreML acceleration
* Enable CoreML and allow fallback to CPU on MacOS ARM64
* Disable CoreML support on MacOS ARM64
* Fix build configuration for MacOS
* Update macOS build configuration based on MACOS_ARCH environment variable
* Update BuildWhispercpp.cmake to disable FMA instructions on non-Apple platforms
* Add cuBLAS support to build and package actions
* Update Cublas versions in Windows build and packaging scripts
* Update CUDA_TOOLKIT_ROOT_DIR environment variable
* Add sub-packages and non-cuda-sub-packages options to CUDA toolkit setup
* Update CUDA sub-packages in build-project.yaml
* Add "visual_studio_integration" to sub-packages in CUDA build workflow
* Fix typo in build-project.yaml
* Fix typo in CUDA build method
* Update sub-packages in CUDA toolkit installation
* Remove unnecessary CUDA sub-packages and method