New Tool Radar

Local AI

How to Use a Vulkan GPU Build of whisper.cpp on Windows

Get a Vulkan GPU build of whisper.cpp on Windows and confirm transcription runs on the graphics card.

Schematic with three steps: Get the Vulkan binaries; Download a Whisper model; Transcribe and check the speed.

On Windows, a CPU-only whisper.cpp build transcribes slowly, while a Vulkan build uses the graphics card. The official Windows releases do not include a Vulkan build, so you need a pre-built Vulkan release or a build from source with the Vulkan flag.

What you need

  • A Windows PC with a Vulkan-capable graphics card
  • Git and CMake and Visual Studio Build Tools if building from source
  • FFmpeg for converting audio to WAV

Step 1: Get the Vulkan binaries

Download the pre-built Vulkan release, for example whisper-vulkan-win-x64.zip, and extract it so whisper-cli.exe is available. Or build from source with cmake -B build -DGGML_VULKAN=ON and then build the whisper-cli target.

Step 2: Download a Whisper model

Download a model file, for example ggml-large-v3-turbo.bin for the best quality on a GPU, or a smaller model if the card has little memory. The large-v3-turbo model uses about 1.6 GB of VRAM in the Vulkan build.

Step 3: Transcribe and check the speed

Convert the audio to 16 kHz mono 16-bit WAV with ffmpeg, run whisper-cli on it, and confirm the transcription completes much faster than on the CPU. Check the transcript against the audio before relying on it.

Worked example: synthetic Vulkan transcription

The table below is a synthetic example. It shows the expected result of using the Vulkan build; no audio was transcribed.

Build Model Result
CPU-only build base.en Slow, works
Vulkan build large-v3-turbo Much faster
Vulkan build large-v3-turbo Transcript checks out

Expected result (UNTESTED). the Vulkan build transcribes the same audio much faster than the CPU build, and the transcript checks out against the audio. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • The official Windows releases do not include a Vulkan build, so use the pre-built Vulkan release or compile it yourself.
  • A Vulkan build still needs the audio as 16-bit WAV; convert with ffmpeg first.
  • The large-v3-turbo model is 1.6 GB, so a smaller model fits better on a card with little memory.

Sources

See all