qaihm-bot's picture
v0.67.0
135e857 verified
|
Raw History Blame Contribute Delete
29.2 kB
---
library_name: pytorch
license: apache-2.0
tags:
- foundation
- android
pipeline_tag: automatic-speech-recognition
---
![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/web-assets/model_demo.png)
# Whisper-Medium-Quantized: Optimized for Qualcomm Devices
We have applied w8a16 quantization to significantly enhance performance and efficiency. HuggingFace Whisper-Medium ASR (Automatic Speech Recognition) model is a state-of-the-art system designed for transcribing spoken language into written text. This model is based on the transformer architecture and has been optimized for edge inference by replacing Multi-Head Attention (MHA) with Single-Head Attention (SHA) and linear layers with convolutional (conv) layers. It exhibits robust performance in realistic, noisy environments, making it highly reliable for real-world applications. Specifically, it excels in long-form transcription, capable of accurately transcribing audio clips up to 30 seconds long. Time to the first token is the encoder's latency, while time to each additional token is decoder's latency, where we assume a max decoded length specified below.
This is based on the implementation of Whisper-Medium-Quantized found [here](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper).
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/whisper_medium_quantized) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.
## Deploying Whisper-Medium-Quantized on-device
This model is compatible with the Qualcomm Voice AI SDK. Download the SDK from the [Qualcomm Package Manager](https://qpm.qualcomm.com/#/main/tools/details/VoiceAI_ASR) to deploy this model on-device.
## Getting Started
There are two ways to deploy this model on your device:
### Option 1: Download Pre-Exported Models
Below are pre-exported model assets ready for deployment.
| Runtime | Precision | Chipset | SDK Versions | Download |
|---|---|---|---|---|
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8_elite_gen5_for_galaxy.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8_elite_for_galaxy.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_x2_elite.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_x_elite.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8gen3.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8gen1.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_qcs6490.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_qcs8275.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_qcs8550_proxy.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_qcm6690.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_qcs9075.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_7gen4.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8_elite_extreme_gen6.zip)
| PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8_elite_gen6.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_8_elite_gen5_for_galaxy.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_8_elite_for_galaxy.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_x2_elite.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_x_elite.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_8gen3.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_8gen1.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS6490 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_qcs6490.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_qcs8275.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_qcs8550_proxy.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8775P | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_sa8775p.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_qcm6690.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_qcs9075.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA7255P | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_sa7255p.zip)
| QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8295P | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_sa8295p.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_7gen4.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_8_elite_extreme_gen6.zip)
| QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-qnn_context_binary-w8a16-qualcomm_snapdragon_8_elite_gen6.zip)
| VOICE_AI | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_8_elite_gen5_for_galaxy.zip)
| VOICE_AI | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_8_elite_for_galaxy.zip)
| VOICE_AI | w8a16 | Snapdragon® X2 Elite | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_x2_elite.zip)
| VOICE_AI | w8a16 | Snapdragon® X Elite | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_x_elite.zip)
| VOICE_AI | w8a16 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_8gen3.zip)
| VOICE_AI | w8a16 | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_8gen1.zip)
| VOICE_AI | w8a16 | Qualcomm® Dragonwing™ QCS6490 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_qcs6490.zip)
| VOICE_AI | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_qcs8275.zip)
| VOICE_AI | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_qcs8550_proxy.zip)
| VOICE_AI | w8a16 | Qualcomm® SA8775P | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_sa8775p.zip)
| VOICE_AI | w8a16 | Qualcomm® Dragonwing™ Q-6690 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_qcm6690.zip)
| VOICE_AI | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_qcs9075.zip)
| VOICE_AI | w8a16 | Qualcomm® SA7255P | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_sa7255p.zip)
| VOICE_AI | w8a16 | Qualcomm® SA8295P | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_sa8295p.zip)
| VOICE_AI | w8a16 | Snapdragon® 7 Gen 4 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_7gen4.zip)
| VOICE_AI | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_8_elite_extreme_gen6.zip)
| VOICE_AI | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_medium_quantized/releases/v0.67.0/whisper_medium_quantized-voice_ai-w8a16-qualcomm_snapdragon_8_elite_gen6.zip)
For more device-specific assets and performance metrics, visit **[Whisper-Medium-Quantized on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/whisper_medium_quantized)**.
### Option 2: Export with Custom Configurations
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/whisper_medium_quantized) Python library to compile and export the model with your own:
- Custom weights (e.g., fine-tuned checkpoints)
- Custom input shapes
- Target device and runtime configurations
This option is ideal if you need to customize the model beyond the default configuration provided here.
See our repository for [Whisper-Medium-Quantized on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/whisper_medium_quantized) for usage instructions.
## Model Details
**Model Type:** Model_use_case.speech_recognition
**Model Stats:**
- Input resolution: 128x3000 (30 seconds audio)
- Max decoded sequence length: 200 tokens
- Model checkpoint: openai/whisper-medium
## Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|---|---|---|---|---|---|---
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.908 ms | 77 - 92 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 13.547 ms | 63 - 76 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | 10.736 ms | 80 - 80 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | 19.936 ms | 426 - 426 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 17.14 ms | 100 - 113 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 28.454 ms | 79 - 96 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 64.982 ms | 77 - 160 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 22.6 ms | 76 - 79 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® QCS8450 | 28.454 ms | 79 - 96 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 23.918 ms | 77 - 160 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 19.936 ms | 426 - 426 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 129.678 ms | 81 - 93 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 30.29 ms | 77 - 90 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 13.547 ms | 63 - 76 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 30.29 ms | 77 - 90 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 10.489 ms | 83 - 94 MB | NPU
| decoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 12.816 ms | 61 - 71 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.727 ms | 77 - 92 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 13.269 ms | 35 - 49 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | 11.61 ms | 80 - 80 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | 19.675 ms | 80 - 80 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | 16.939 ms | 62 - 73 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 1 Mobile | 27.411 ms | 79 - 97 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 64.762 ms | 76 - 166 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 24.617 ms | 80 - 172 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 22.305 ms | 77 - 80 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® QCS8450 | 27.411 ms | 79 - 97 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 22.715 ms | 77 - 168 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 19.675 ms | 80 - 80 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 135.01 ms | 80 - 93 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 30.403 ms | 52 - 60 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 13.269 ms | 35 - 49 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8295P | 26.095 ms | 31 - 38 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | 30.403 ms | 52 - 60 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 10.641 ms | 30 - 40 MB | NPU
| decoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 12.6 ms | 73 - 83 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.754 ms | 26 - 36 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 13.265 ms | 55 - 69 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® X2 Elite | 11.65 ms | 80 - 80 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® X Elite | 20.252 ms | 80 - 80 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® 8 Gen 3 Mobile | 16.746 ms | 53 - 62 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® 8 Gen 1 Mobile | 27.342 ms | 79 - 97 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 63.968 ms | 74 - 165 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 21.933 ms | 80 - 84 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® QCS8450 | 27.342 ms | 79 - 97 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 23.444 ms | 80 - 171 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 20.252 ms | 80 - 80 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 127.847 ms | 80 - 93 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 29.421 ms | 49 - 57 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 13.265 ms | 55 - 69 MB | NPU
| decoder | VOICE_AI | w8a16 | Qualcomm® SA8295P | 25.822 ms | 27 - 34 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® 7 Gen 4 Mobile | 29.421 ms | 49 - 57 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 10.388 ms | 54 - 64 MB | NPU
| decoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 12.592 ms | 32 - 41 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 70.255 ms | 150 - 162 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 97.715 ms | 151 - 164 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | 76.754 ms | 264 - 264 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | 169.018 ms | 366 - 366 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 122.009 ms | 152 - 165 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 241.903 ms | 149 - 164 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 679.072 ms | 79 - 84 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 174.515 ms | 0 - 386 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® QCS8450 | 241.903 ms | 149 - 164 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 161.908 ms | 151 - 155 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 169.018 ms | 366 - 366 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 2287.605 ms | 51 - 63 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 273.417 ms | 151 - 162 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 97.715 ms | 151 - 164 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 273.417 ms | 151 - 162 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 44.754 ms | 150 - 158 MB | NPU
| encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 54.613 ms | 151 - 159 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 70.324 ms | 2 - 10 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 98.172 ms | 1 - 14 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | 77.112 ms | 0 - 0 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | 170.909 ms | 0 - 0 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | 123.409 ms | 1 - 14 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 1 Mobile | 237.521 ms | 1 - 11 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 679.643 ms | 0 - 73 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 158.031 ms | 0 - 74 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 168.346 ms | 1 - 3 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® QCS8450 | 237.521 ms | 1 - 11 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 161.361 ms | 0 - 73 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 170.909 ms | 0 - 0 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 2189.865 ms | 0 - 8 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 264.486 ms | 1 - 9 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 98.172 ms | 1 - 14 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8295P | 219.466 ms | 1 - 7 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | 264.486 ms | 1 - 9 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 43.54 ms | 1 - 9 MB | NPU
| encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 54.015 ms | 1 - 10 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 70.518 ms | 1 - 11 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 98.182 ms | 1 - 14 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® X2 Elite | 76.585 ms | 0 - 0 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® X Elite | 169.693 ms | 0 - 0 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® 8 Gen 3 Mobile | 122.47 ms | 1 - 9 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® 8 Gen 1 Mobile | 228.941 ms | 1 - 11 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 675.022 ms | 0 - 73 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 169.559 ms | 1 - 3 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® QCS8450 | 228.941 ms | 1 - 11 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 162.398 ms | 0 - 73 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 169.693 ms | 0 - 0 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 2227.247 ms | 1 - 13 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 269.131 ms | 1 - 8 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 98.182 ms | 1 - 14 MB | NPU
| encoder | VOICE_AI | w8a16 | Qualcomm® SA8295P | 219.316 ms | 1 - 7 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® 7 Gen 4 Mobile | 269.131 ms | 1 - 8 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 43.296 ms | 1 - 9 MB | NPU
| encoder | VOICE_AI | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 53.601 ms | 1 - 10 MB | NPU
## License
* The license for the original implementation of Whisper-Medium-Quantized can be found
[here](https://github.com/huggingface/transformers/blob/v4.42.3/LICENSE).
## References
* [Robust Speech Recognition via Large-Scale Weak Supervision](https://cdn.openai.com/papers/whisper.pdf)
* [Source Model Implementation](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper)
## Community
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).