Skip to content

Instantly share code, notes, and snippets.

@thewh1teagle
Last active April 25, 2025 04:10
Show Gist options
  • Select an option

  • Save thewh1teagle/2525627cc0f70f5b92a01fb925d78669 to your computer and use it in GitHub Desktop.

Select an option

Save thewh1teagle/2525627cc0f70f5b92a01fb925d78669 to your computer and use it in GitHub Desktop.
Build whisper with vulkan
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
git checkout fe36c90
wget.exe https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.26/OpenBLAS-0.3.26-x64.zip
$env:VULKAN_SDK = "C:\VulkanSDK\1.3.290.0"
$env:OPENBLAS_PATH = "$pwd/openblas"
$env:GGML_OPENBLAS = "1"
cmake -B build -DBUILD_SHARED_LIBS=OFF -DGGML_VULKAN=ON -DGGML_CCACHE=OFF -DCMAKE_BUILD_TYPE=Release -DGGML_STATIC=ON
cmake --build build --target main --config Release

wget.exe https://github.com/thewh1teagle/sherpa-rs/releases/download/v0.1.0/motivation.wav
.\build\bin\Release\main.exe -m "c:\Users\User\AppData\Local\github.com.thewh1teagle.vibe\ggml-medium.bin" -f .\motivation.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment