Update whisper dependencies to 0.0.12 (#264)

* Update Whispercpp deps to 0.0.12

Updates Vulkan on Windows to 1.4.328.1 and fixes ROCm/HIP by building for all available GPU architectures

* Reorder acceleration options alphabetically for Windows and Linux

Makes life easier when updating checksums for whisper deps updates
This commit is contained in:
Tabitha Cromarty
2025-11-24 23:16:46 +00:00
committed by GitHub
parent b5290ccd83
commit 12191acb62
3 changed files with 30 additions and 30 deletions

View File

@@ -13,9 +13,9 @@ If youre looking for a hosted desktop recording API, consider checking out [R
[![GitHub stars](https://badgen.net/github/stars/locaal-ai/obs-localvocal)](https://GitHub.com/locaal-ai/obs-localvocal/stargazers/)
<br/>
Download:</br>
[![Static Badge](https://img.shields.io/badge/Windows%20(generic)-0078d6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-windows-x64-generic-Installer.exe) [![Static Badge](https://img.shields.io/badge/Windows%20(NVidia)-0078d6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-windows-x64-nvidia-Installer.exe) [![Static Badge](https://img.shields.io/badge/Windows%20(AMD)-0078d6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-windows-x64-amd-Installer.exe)
[![Static Badge](https://img.shields.io/badge/mac%20Intel-000000?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-macos-x86_64.pkg) [![Static Badge](https://img.shields.io/badge/mac%20M1/2/3-0a0a0a?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-macos-arm64.pkg)
[![Static Badge](https://img.shields.io/badge/Linux%20(generic)-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-generic-x86_64-linux-gnu.deb) [![Static Badge](https://img.shields.io/badge/Linux%20(NVidia)-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-nvidia-x86_64-linux-gnu.deb) [![Static Badge](https://img.shields.io/badge/Linux%20(AMD)-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.2/obs-localvocal-0.5.2-amd-x86_64-linux-gnu.deb)
[![Static Badge](https://img.shields.io/badge/Windows%20(generic)-0078d6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-windows-x64-generic-Installer.exe) [![Static Badge](https://img.shields.io/badge/Windows%20(NVidia)-0078d6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-windows-x64-nvidia-Installer.exe) [![Static Badge](https://img.shields.io/badge/Windows%20(AMD)-0078d6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-windows-x64-amd-Installer.exe)
[![Static Badge](https://img.shields.io/badge/mac%20Intel-000000?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-macos-x86_64.pkg) [![Static Badge](https://img.shields.io/badge/mac%20M1/2/3-0a0a0a?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-macos-arm64.pkg)
[![Static Badge](https://img.shields.io/badge/Linux%20(generic)-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-generic-x86_64-linux-gnu.deb) [![Static Badge](https://img.shields.io/badge/Linux%20(NVidia)-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-nvidia-x86_64-linux-gnu.deb) [![Static Badge](https://img.shields.io/badge/Linux%20(AMD)-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/locaal-ai/obs-localvocal/releases/download/0.5.3/obs-localvocal-0.5.3-amd-x86_64-linux-gnu.deb)
</div>

View File

@@ -35,7 +35,7 @@
},
"name": "obs-localvocal",
"displayName": "OBS Localvocal",
"version": "0.5.2",
"version": "0.5.3",
"author": "Roy Shilkrot",
"website": "https://github.com/locaal-ai/obs-localvocal",
"email": "roy.shil@gmail.com",

View File

@@ -1,7 +1,7 @@
include(ExternalProject)
include(FetchContent)
set(PREBUILT_WHISPERCPP_VERSION "0.0.11-2")
set(PREBUILT_WHISPERCPP_VERSION "0.0.12")
set(PREBUILT_WHISPERCPP_URL_BASE
"https://github.com/locaal-ai/occ-ai-dep-whispercpp/releases/download/${PREBUILT_WHISPERCPP_VERSION}")
@@ -14,7 +14,7 @@ if(APPLE)
# check the "MACOS_ARCH" env var to figure out if this is x86 or arm64
if($ENV{MACOS_ARCH} STREQUAL "x86_64")
set(WHISPER_CPP_HASH "e6fa37ea4f76d31a105dc557e90c41b9bb78a629bb3efa71b2c6f9ce029b77dd")
set(WHISPER_CPP_HASH "e278354fb72975b160ac3d20d0c9d4c07b48b82ea6bb3ef48a54f6be3582e141")
list(
APPEND
@@ -28,7 +28,7 @@ if(APPLE)
GGMLCPU-ALDERLAKE
GGMLCPU-SAPPHIRERAPIDS)
elseif($ENV{MACOS_ARCH} STREQUAL "arm64")
set(WHISPER_CPP_HASH "4d18abb80aba27edc534a1720b2e4c552474d3380df0174465295f6d23d13589")
set(WHISPER_CPP_HASH "73da71c805c6da5d7c638e4cded2e28b3133d9b8757d0dc0e08ff1892e867527")
list(APPEND WHISPER_RUNTIME_MODULES GGMLCPU-APPLE_M1 GGMLCPU-APPLE_M2_M3 GGMLCPU-APPLE_M4)
else()
message(
@@ -82,14 +82,14 @@ elseif(WIN32)
set(WHISPER_CPP_URL
"${PREBUILT_WHISPERCPP_URL_BASE}/whispercpp-windows${ARCH_PREFIX}${ACCELERATION_PREFIX}-${PREBUILT_WHISPERCPP_VERSION}.zip"
)
if(${ACCELERATION} STREQUAL "generic")
set(WHISPER_CPP_HASH "43a69a80d6668fa4714cd145b7826deaa592b454c6f7da8ac71e7062114f1a7d")
elseif(${ACCELERATION} STREQUAL "nvidia")
set(WHISPER_CPP_HASH "0893975412bf720c76d4b92a910abdb8ebf7ac927c872e2bbb04db0b647f71fe")
list(APPEND WHISPER_RUNTIME_MODULES GGMLCUDA)
elseif(${ACCELERATION} STREQUAL "amd")
set(WHISPER_CPP_HASH "656c242b658b20f8a60f8823b85385c6f03da17cfe401d6ef177ccd5749f2b0d")
if(${ACCELERATION} STREQUAL "amd")
set(WHISPER_CPP_HASH "64572438fe478fa659ea66e239c5fbd098f276d92837a21bf8b5d833784d1c17")
list(APPEND WHISPER_RUNTIME_MODULES GGMLHip)
elseif(${ACCELERATION} STREQUAL "generic")
set(WHISPER_CPP_HASH "3b34977c7a441f36e4652e93721748f1759a8850097fa008d12ca5d4614ae570")
elseif(${ACCELERATION} STREQUAL "nvidia")
set(WHISPER_CPP_HASH "35ad8a19151784a47d46a0e07f6a9e05df9539b9e8b0bbe003d4cd5176e94137")
list(APPEND WHISPER_RUNTIME_MODULES GGMLCUDA)
else()
message(
FATAL_ERROR
@@ -165,10 +165,23 @@ else()
set(ACCELERATION_PREFIX "-${ACCELERATION}")
set(WHISPER_CPP_URL
"${PREBUILT_WHISPERCPP_URL_BASE}/whispercpp-linux${ARCH_PREFIX}${ACCELERATION_PREFIX}-Release.tar.gz")
if(${ACCELERATION} STREQUAL "generic")
set(WHISPER_CPP_HASH "77555023b0fa15ce486ef56c6768d31f3b728feee64172e74dd8f8c811b62e10")
if(${ACCELERATION} STREQUAL "amd")
set(WHISPER_CPP_HASH "52b2614bcb1b2bb01e355c68345ba81b3d9aeb2ad2ccdbaac2e65e34fc7a32fb")
list(APPEND WHISPER_RUNTIME_MODULES GGMLHip)
# Find hip libraries and link against them
set(CMAKE_PREFIX_PATH /opt/rocm-6.4.2/lib/cmake)
set(HIP_PLATFORM amd)
set(CMAKE_HIP_PLATFORM amd)
set(CMAKE_HIP_ARCHITECTURES OFF)
find_package(hip REQUIRED)
find_package(hipblas REQUIRED)
find_package(rocblas REQUIRED)
list(APPEND WHISPER_DEPENDENCY_LIBRARIES hip::host roc::rocblas roc::hipblas)
elseif(${ACCELERATION} STREQUAL "generic")
set(WHISPER_CPP_HASH "e65ddfe32b4e0b79187ec0664d46b737a7c71a9ce87409d344e7f6533e0b0271")
elseif(${ACCELERATION} STREQUAL "nvidia")
set(WHISPER_CPP_HASH "397ea1409a3cc92d049130b5f874bbd9c06325e5a56cd2d08b3d8706ce619b7b")
set(WHISPER_CPP_HASH "9c7afdead75c59f4ebaeaa196ed17ab784934120576860eb928657b2dbb67f05")
list(APPEND WHISPER_RUNTIME_MODULES GGMLCUDA)
# Find CUDA libraries and link against them
@@ -182,19 +195,6 @@ else()
CUDA::cublasLt
CUDA::cuda_driver
CUDA::OpenCL)
elseif(${ACCELERATION} STREQUAL "amd")
set(WHISPER_CPP_HASH "7e3c45e92abe3fe4c08009c4842a13937d4a30285fa49116a7a75802f0e6e64a")
list(APPEND WHISPER_RUNTIME_MODULES GGMLHip)
# Find hip libraries and link against them
set(CMAKE_PREFIX_PATH /opt/rocm-6.4.2/lib/cmake)
set(HIP_PLATFORM amd)
set(CMAKE_HIP_PLATFORM amd)
set(CMAKE_HIP_ARCHITECTURES OFF)
find_package(hip REQUIRED)
find_package(hipblas REQUIRED)
find_package(rocblas REQUIRED)
list(APPEND WHISPER_DEPENDENCY_LIBRARIES hip::host roc::rocblas roc::hipblas)
else()
message(
FATAL_ERROR