Running Whisper on the NPU with VoiceAI ASR
1. Installing SDKs
Set up the base requirements
Install VoiceAI ASR - Community Edition
2. Download models from AI Hub
With the SDKs installed, you can download precompiled Whisper models from AI Hub. When downloading a model, select the following device:encoder_model_htp.bin and the decoder model to decoder_model_htp.bin.
To download the Whisper-Small-Quantized model directly on your development board:
- RB3 Gen 2 Vision Kit / Rubik Pi 3
- IQ-9075 EVK
3. Compiling and running examples
Build the npu_rpc_linux_sample/voice-ai-ref example
Transcribe .WAV files
Or even do live transcription
Connect a microphone to your development board
Find the name of your microphone
Run live transcription
voice-ai-ref binary, and read data from stdout.
Running Whisper on the CPU with whisper.cpp
Alternatively you can run Whisper on the CPU (with less performance) using whisper.cpp (or any of the other popular Whisper libraries). Here’s instructions for whisper.cpp. Open the terminal on your development board, or an ssh session to your development board, and run:Install build dependencies
Build whisper.cpp
Add the whisper.cpp paths to your PATH
Transcribe some audio using whisper.cpp
Live transcribe audio
Connect a microphone to your development board
Find your microphone ID
Start live transcribing
Running on the GPU with OpenCL
You can also build binaries that run on the GPU:Install the OpenCL headers and ICD loader library
Build a binary with OpenCL

