korywat commited on
Commit
0e1af46
·
1 Parent(s): f06a2f0

See https://github.com/quic/ai-hub-models/releases/v0.36.0 for changelog.

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. DEPLOYMENT_MODEL_LICENSE.pdf +3 -0
  3. LICENSE +2 -0
  4. README.md +251 -0
  5. precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperDecoder.bin +3 -0
  6. precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperEncoder.bin +3 -0
  7. precompiled/qualcomm-qcs8275-proxy/sdk_versions.yml +3 -0
  8. precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperDecoder.bin +3 -0
  9. precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperEncoder.bin +3 -0
  10. precompiled/qualcomm-qcs8450-proxy/sdk_versions.yml +3 -0
  11. precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperDecoder.bin +3 -0
  12. precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperEncoder.bin +3 -0
  13. precompiled/qualcomm-qcs8550-proxy/sdk_versions.yml +3 -0
  14. precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperDecoder.bin +3 -0
  15. precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperEncoder.bin +3 -0
  16. precompiled/qualcomm-qcs9075-proxy/sdk_versions.yml +3 -0
  17. precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperDecoder.bin +3 -0
  18. precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperEncoder.bin +3 -0
  19. precompiled/qualcomm-sa7255p/sdk_versions.yml +3 -0
  20. precompiled/qualcomm-sa8255p-proxy/Whisper-Base_HfWhisperDecoder.bin +3 -0
  21. precompiled/qualcomm-sa8255p-proxy/Whisper-Base_HfWhisperEncoder.bin +3 -0
  22. precompiled/qualcomm-sa8255p-proxy/sdk_versions.yml +3 -0
  23. precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperDecoder.bin +3 -0
  24. precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperEncoder.bin +3 -0
  25. precompiled/qualcomm-sa8295p/sdk_versions.yml +3 -0
  26. precompiled/qualcomm-sa8650p-proxy/Whisper-Base_HfWhisperDecoder.bin +3 -0
  27. precompiled/qualcomm-sa8650p-proxy/Whisper-Base_HfWhisperEncoder.bin +3 -0
  28. precompiled/qualcomm-sa8650p-proxy/sdk_versions.yml +3 -0
  29. precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperDecoder.bin +3 -0
  30. precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperEncoder.bin +3 -0
  31. precompiled/qualcomm-sa8775p/sdk_versions.yml +3 -0
  32. precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperDecoder.bin +3 -0
  33. precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperDecoder.onnx.zip +3 -0
  34. precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperEncoder.bin +3 -0
  35. precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperEncoder.onnx.zip +3 -0
  36. precompiled/qualcomm-snapdragon-8-elite/sdk_versions.yml +6 -0
  37. precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperDecoder.bin +3 -0
  38. precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperDecoder.onnx.zip +3 -0
  39. precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperEncoder.bin +3 -0
  40. precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperEncoder.onnx.zip +3 -0
  41. precompiled/qualcomm-snapdragon-8gen2/sdk_versions.yml +6 -0
  42. precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder.bin +3 -0
  43. precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder.onnx.zip +3 -0
  44. precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder.bin +3 -0
  45. precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder.onnx.zip +3 -0
  46. precompiled/qualcomm-snapdragon-8gen3/sdk_versions.yml +6 -0
  47. precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder.bin +3 -0
  48. precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder.onnx.zip +3 -0
  49. precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder_float.onnx.zip +3 -0
  50. precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperEncoder.bin +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ DEPLOYMENT_MODEL_LICENSE.pdf filter=lfs diff=lfs merge=lfs -text
DEPLOYMENT_MODEL_LICENSE.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4409f93b0e82531303b3e10f52f1fdfb56467a25f05b7441c6bbd8bb8a64b42c
3
+ size 109629
LICENSE ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ The license of the original trained model can be found at https://github.com/huggingface/transformers/blob/v4.42.3/LICENSE.
2
+ The license for the deployable model files (.tflite, .onnx, .dlc, .bin, etc.) can be found in DEPLOYMENT_MODEL_LICENSE.pdf.
README.md ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ license: other
4
+ tags:
5
+ - foundation
6
+ - android
7
+ pipeline_tag: automatic-speech-recognition
8
+
9
+ ---
10
+
11
+ ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_base/web-assets/model_demo.png)
12
+
13
+ # Whisper-Base: Optimized for Mobile Deployment
14
+ ## Transformer-based automatic speech recognition (ASR) model for multilingual transcription and translation available on HuggingFace
15
+
16
+
17
+ HuggingFace Whisper-Small 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.
18
+
19
+ This model is an implementation of Whisper-Base found [here](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper).
20
+
21
+
22
+ This repository provides scripts to run Whisper-Base on Qualcomm® devices.
23
+ More details on model performance across various devices, can be found
24
+ [here](https://aihub.qualcomm.com/models/whisper_base).
25
+
26
+
27
+
28
+ ### Model Details
29
+
30
+ - **Model Type:** Model_use_case.speech_recognition
31
+ - **Model Stats:**
32
+ - Model checkpoint: openai/whisper-base
33
+ - Input resolution: 80x3000 (30 seconds audio)
34
+ - Max decoded sequence length: 200 tokens
35
+ - Number of parameters (HfWhisperEncoder): 23.7M
36
+ - Model size (HfWhisperEncoder) (float): 90.7 MB
37
+ - Number of parameters (HfWhisperDecoder): 48.9M
38
+ - Model size (HfWhisperDecoder) (float): 187 MB
39
+
40
+ | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
41
+ |---|---|---|---|---|---|---|---|---|
42
+ | HfWhisperEncoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_CONTEXT_BINARY | 130.662 ms | 1 - 10 MB | NPU | Use Export Script |
43
+ | HfWhisperEncoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_CONTEXT_BINARY | 111.747 ms | 1 - 17 MB | NPU | Use Export Script |
44
+ | HfWhisperEncoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_CONTEXT_BINARY | 43.301 ms | 1 - 3 MB | NPU | Use Export Script |
45
+ | HfWhisperEncoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_CONTEXT_BINARY | 50.193 ms | 1 - 11 MB | NPU | Use Export Script |
46
+ | HfWhisperEncoder | float | SA7255P ADP | Qualcomm® SA7255P | QNN_CONTEXT_BINARY | 130.662 ms | 1 - 10 MB | NPU | Use Export Script |
47
+ | HfWhisperEncoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_CONTEXT_BINARY | 43.516 ms | 1 - 2 MB | NPU | Use Export Script |
48
+ | HfWhisperEncoder | float | SA8295P ADP | Qualcomm® SA8295P | QNN_CONTEXT_BINARY | 92.575 ms | 1 - 17 MB | NPU | Use Export Script |
49
+ | HfWhisperEncoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_CONTEXT_BINARY | 43.199 ms | 1 - 3 MB | NPU | Use Export Script |
50
+ | HfWhisperEncoder | float | SA8775P ADP | Qualcomm® SA8775P | QNN_CONTEXT_BINARY | 50.193 ms | 1 - 11 MB | NPU | Use Export Script |
51
+ | HfWhisperEncoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_CONTEXT_BINARY | 43.355 ms | 1 - 4 MB | NPU | Use Export Script |
52
+ | HfWhisperEncoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | PRECOMPILED_QNN_ONNX | 44.114 ms | 0 - 67 MB | NPU | Use Export Script |
53
+ | HfWhisperEncoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_CONTEXT_BINARY | 34.042 ms | 1 - 18 MB | NPU | Use Export Script |
54
+ | HfWhisperEncoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | PRECOMPILED_QNN_ONNX | 34.282 ms | 34 - 53 MB | NPU | Use Export Script |
55
+ | HfWhisperEncoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_CONTEXT_BINARY | 28.367 ms | 0 - 14 MB | NPU | Use Export Script |
56
+ | HfWhisperEncoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | PRECOMPILED_QNN_ONNX | 29.337 ms | 39 - 52 MB | NPU | Use Export Script |
57
+ | HfWhisperEncoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_CONTEXT_BINARY | 42.085 ms | 0 - 0 MB | NPU | Use Export Script |
58
+ | HfWhisperEncoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | PRECOMPILED_QNN_ONNX | 42.398 ms | 66 - 66 MB | NPU | Use Export Script |
59
+ | HfWhisperDecoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_CONTEXT_BINARY | 6.224 ms | 20 - 29 MB | NPU | Use Export Script |
60
+ | HfWhisperDecoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_CONTEXT_BINARY | 5.156 ms | 20 - 42 MB | NPU | Use Export Script |
61
+ | HfWhisperDecoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_CONTEXT_BINARY | 4.053 ms | 20 - 22 MB | NPU | Use Export Script |
62
+ | HfWhisperDecoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_CONTEXT_BINARY | 4.663 ms | 20 - 30 MB | NPU | Use Export Script |
63
+ | HfWhisperDecoder | float | SA7255P ADP | Qualcomm® SA7255P | QNN_CONTEXT_BINARY | 6.224 ms | 20 - 29 MB | NPU | Use Export Script |
64
+ | HfWhisperDecoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_CONTEXT_BINARY | 3.858 ms | 20 - 22 MB | NPU | Use Export Script |
65
+ | HfWhisperDecoder | float | SA8295P ADP | Qualcomm® SA8295P | QNN_CONTEXT_BINARY | 5.199 ms | 20 - 37 MB | NPU | Use Export Script |
66
+ | HfWhisperDecoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_CONTEXT_BINARY | 3.982 ms | 19 - 21 MB | NPU | Use Export Script |
67
+ | HfWhisperDecoder | float | SA8775P ADP | Qualcomm® SA8775P | QNN_CONTEXT_BINARY | 4.663 ms | 20 - 30 MB | NPU | Use Export Script |
68
+ | HfWhisperDecoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_CONTEXT_BINARY | 3.951 ms | 19 - 21 MB | NPU | Use Export Script |
69
+ | HfWhisperDecoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | PRECOMPILED_QNN_ONNX | 4.654 ms | 0 - 143 MB | NPU | Use Export Script |
70
+ | HfWhisperDecoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_CONTEXT_BINARY | 3.142 ms | 0 - 19 MB | NPU | Use Export Script |
71
+ | HfWhisperDecoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | PRECOMPILED_QNN_ONNX | 3.662 ms | 26 - 46 MB | NPU | Use Export Script |
72
+ | HfWhisperDecoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_CONTEXT_BINARY | 2.638 ms | 18 - 32 MB | NPU | Use Export Script |
73
+ | HfWhisperDecoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | PRECOMPILED_QNN_ONNX | 3.068 ms | 17 - 31 MB | NPU | Use Export Script |
74
+ | HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_CONTEXT_BINARY | 3.458 ms | 20 - 20 MB | NPU | Use Export Script |
75
+ | HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | PRECOMPILED_QNN_ONNX | 3.681 ms | 125 - 125 MB | NPU | Use Export Script |
76
+
77
+
78
+
79
+
80
+ ## Installation
81
+
82
+
83
+ Install the package via pip:
84
+ ```bash
85
+ pip install "qai-hub-models[whisper-base]"
86
+ ```
87
+
88
+
89
+ ## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
90
+
91
+ Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
92
+ Qualcomm® ID. Once signed in navigate to `Account -> Settings -> API Token`.
93
+
94
+ With this API token, you can configure your client to run models on the cloud
95
+ hosted devices.
96
+ ```bash
97
+ qai-hub configure --api_token API_TOKEN
98
+ ```
99
+ Navigate to [docs](https://app.aihub.qualcomm.com/docs/) for more information.
100
+
101
+
102
+
103
+ ## Demo off target
104
+
105
+ The package contains a simple end-to-end demo that downloads pre-trained
106
+ weights and runs this model on a sample input.
107
+
108
+ ```bash
109
+ python -m qai_hub_models.models.whisper_base.demo
110
+ ```
111
+
112
+ The above demo runs a reference implementation of pre-processing, model
113
+ inference, and post processing.
114
+
115
+ **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
116
+ environment, please add the following to your cell (instead of the above).
117
+ ```
118
+ %run -m qai_hub_models.models.whisper_base.demo
119
+ ```
120
+
121
+
122
+ ### Run model on a cloud-hosted device
123
+
124
+ In addition to the demo, you can also run the model on a cloud-hosted Qualcomm®
125
+ device. This script does the following:
126
+ * Performance check on-device on a cloud-hosted device
127
+ * Downloads compiled assets that can be deployed on-device for Android.
128
+ * Accuracy check between PyTorch and on-device outputs.
129
+
130
+ ```bash
131
+ python -m qai_hub_models.models.whisper_base.export
132
+ ```
133
+
134
+
135
+
136
+ ## How does this work?
137
+
138
+ This [export script](https://aihub.qualcomm.com/models/whisper_base/qai_hub_models/models/Whisper-Base/export.py)
139
+ leverages [Qualcomm® AI Hub](https://aihub.qualcomm.com/) to optimize, validate, and deploy this model
140
+ on-device. Lets go through each step below in detail:
141
+
142
+ Step 1: **Compile model for on-device deployment**
143
+
144
+ To compile a PyTorch model for on-device deployment, we first trace the model
145
+ in memory using the `jit.trace` and then call the `submit_compile_job` API.
146
+
147
+ ```python
148
+ import torch
149
+
150
+ import qai_hub as hub
151
+ from qai_hub_models.models.whisper_base import Model
152
+
153
+ # Load the model
154
+ torch_model = Model.from_pretrained()
155
+
156
+ # Device
157
+ device = hub.Device("Samsung Galaxy S24")
158
+
159
+ # Trace model
160
+ input_shape = torch_model.get_input_spec()
161
+ sample_inputs = torch_model.sample_inputs()
162
+
163
+ pt_model = torch.jit.trace(torch_model, [torch.tensor(data[0]) for _, data in sample_inputs.items()])
164
+
165
+ # Compile model on a specific device
166
+ compile_job = hub.submit_compile_job(
167
+ model=pt_model,
168
+ device=device,
169
+ input_specs=torch_model.get_input_spec(),
170
+ )
171
+
172
+ # Get target model to run on-device
173
+ target_model = compile_job.get_target_model()
174
+
175
+ ```
176
+
177
+
178
+ Step 2: **Performance profiling on cloud-hosted device**
179
+
180
+ After compiling models from step 1. Models can be profiled model on-device using the
181
+ `target_model`. Note that this scripts runs the model on a device automatically
182
+ provisioned in the cloud. Once the job is submitted, you can navigate to a
183
+ provided job URL to view a variety of on-device performance metrics.
184
+ ```python
185
+ profile_job = hub.submit_profile_job(
186
+ model=target_model,
187
+ device=device,
188
+ )
189
+
190
+ ```
191
+
192
+ Step 3: **Verify on-device accuracy**
193
+
194
+ To verify the accuracy of the model on-device, you can run on-device inference
195
+ on sample input data on the same cloud hosted device.
196
+ ```python
197
+ input_data = torch_model.sample_inputs()
198
+ inference_job = hub.submit_inference_job(
199
+ model=target_model,
200
+ device=device,
201
+ inputs=input_data,
202
+ )
203
+ on_device_output = inference_job.download_output_data()
204
+
205
+ ```
206
+ With the output of the model, you can compute like PSNR, relative errors or
207
+ spot check the output with expected output.
208
+
209
+ **Note**: This on-device profiling and inference requires access to Qualcomm®
210
+ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
211
+
212
+
213
+
214
+
215
+ ## Deploying compiled model to Android
216
+
217
+
218
+ The models can be deployed using multiple runtimes:
219
+ - TensorFlow Lite (`.tflite` export): [This
220
+ tutorial](https://www.tensorflow.org/lite/android/quickstart) provides a
221
+ guide to deploy the .tflite model in an Android application.
222
+
223
+
224
+ - QNN (`.so` export ): This [sample
225
+ app](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/sample_app.html)
226
+ provides instructions on how to use the `.so` shared library in an Android application.
227
+
228
+
229
+ ## View on Qualcomm® AI Hub
230
+ Get more details on Whisper-Base's performance across various devices [here](https://aihub.qualcomm.com/models/whisper_base).
231
+ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
232
+
233
+
234
+ ## License
235
+ * The license for the original implementation of Whisper-Base can be found
236
+ [here](https://github.com/huggingface/transformers/blob/v4.42.3/LICENSE).
237
+ * The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
238
+
239
+
240
+
241
+ ## References
242
+ * [Robust Speech Recognition via Large-Scale Weak Supervision](https://cdn.openai.com/papers/whisper.pdf)
243
+ * [Source Model Implementation](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper)
244
+
245
+
246
+
247
+ ## Community
248
+ * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
249
+ * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
250
+
251
+
precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b546f9f736ed774fc8d67c83ac0f375028f544ddffe045e7e7a103e8ab5ddcda
3
+ size 151851008
precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d87d82f9a9ec21ca55d703172870cb2e0b079ed31032b9093a427c07b5fdca41
3
+ size 63823872
precompiled/qualcomm-qcs8275-proxy/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859-auto
precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd74401e75956be600c49e099c011747d91aa86b96aea227475ac1ff0acce42
3
+ size 151318528
precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eac6c569188e7529db7a3895bc73035b7a09440c0187823df2b34f4f0fb24266
3
+ size 52404224
precompiled/qualcomm-qcs8450-proxy/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859
precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cafcb5e8f79438546515447c06f53bed03faca66c3c0880fd3017f363489d435
3
+ size 151851008
precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323252ce433932c31b327ca053d36e714b11de71cdb395b179011ca9aa8271d5
3
+ size 63811584
precompiled/qualcomm-qcs8550-proxy/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859
precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8236e07b8baeae2cd4d31ce6e6ac1f123e0b785bf9bfad6fd165dd6bef308abb
3
+ size 151855104
precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c34a574b61359f2af44bdef8dddd1ad962cba6bc3f7356ac296615165ab0b11
3
+ size 63782912
precompiled/qualcomm-qcs9075-proxy/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859-auto
precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b546f9f736ed774fc8d67c83ac0f375028f544ddffe045e7e7a103e8ab5ddcda
3
+ size 151851008
precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d87d82f9a9ec21ca55d703172870cb2e0b079ed31032b9093a427c07b5fdca41
3
+ size 63823872
precompiled/qualcomm-sa7255p/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859-auto
precompiled/qualcomm-sa8255p-proxy/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cafcb5e8f79438546515447c06f53bed03faca66c3c0880fd3017f363489d435
3
+ size 151851008
precompiled/qualcomm-sa8255p-proxy/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323252ce433932c31b327ca053d36e714b11de71cdb395b179011ca9aa8271d5
3
+ size 63811584
precompiled/qualcomm-sa8255p-proxy/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859
precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ae95353aa78904d120b6019b50f3c51d3e92e583fb3acbb7e54f1c3a20108a4
3
+ size 151306240
precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0693bac266f660d8d5f8c9c7458daf2931d8695d6040251e7c023ffaa70368d
3
+ size 52219904
precompiled/qualcomm-sa8295p/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859-auto
precompiled/qualcomm-sa8650p-proxy/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cafcb5e8f79438546515447c06f53bed03faca66c3c0880fd3017f363489d435
3
+ size 151851008
precompiled/qualcomm-sa8650p-proxy/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323252ce433932c31b327ca053d36e714b11de71cdb395b179011ca9aa8271d5
3
+ size 63811584
precompiled/qualcomm-sa8650p-proxy/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859
precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8236e07b8baeae2cd4d31ce6e6ac1f123e0b785bf9bfad6fd165dd6bef308abb
3
+ size 151855104
precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c34a574b61359f2af44bdef8dddd1ad962cba6bc3f7356ac296615165ab0b11
3
+ size 63782912
precompiled/qualcomm-sa8775p/sdk_versions.yml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859-auto
precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73277da79d17a73612285089f85111e6a246da28f73f322c21a565d7d5bea9f6
3
+ size 151826432
precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db3711e486e2619a098b3360509e5480102f4a40dc9314f505a91cfeb9bb4487
3
+ size 137249025
precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d70c432bc476738d1bfd1bd8e9859d01be1564110fb6c03b70da6f435ddaeb6a
3
+ size 63651840
precompiled/qualcomm-snapdragon-8-elite/Whisper-Base_HfWhisperEncoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:568fb19b243097c66bb87c157d5a3fff7349b6da47a1ec03d2ba892023bda7c5
3
+ size 46961022
precompiled/qualcomm-snapdragon-8-elite/sdk_versions.yml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859
4
+ precompiled_qnn_onnx:
5
+ qairt: 2.33.2.250410134701_117956
6
+ onnx_runtime: 1.22.0
precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cafcb5e8f79438546515447c06f53bed03faca66c3c0880fd3017f363489d435
3
+ size 151851008
precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:802a4a9cf2671ba673ae50330950db551c2a4c83ef49c335566c451bd049cc76
3
+ size 137259933
precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323252ce433932c31b327ca053d36e714b11de71cdb395b179011ca9aa8271d5
3
+ size 63811584
precompiled/qualcomm-snapdragon-8gen2/Whisper-Base_HfWhisperEncoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd91f41d7197d5aaec977ddca0269caf8fb83dc7406136bb78ea2721759cba1f
3
+ size 47059025
precompiled/qualcomm-snapdragon-8gen2/sdk_versions.yml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859
4
+ precompiled_qnn_onnx:
5
+ qairt: 2.33.2.250410134701_117956
6
+ onnx_runtime: 1.22.0
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d965eb29ef59d53f3349389093c537cf38c8346c49f7a54cb65d6188f94703c
3
+ size 151851008
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aeec271119dc14cf73c352f81e5af6a14d8f925e3152a5deeedf1c07bff8061
3
+ size 137260170
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:932dce7558f5f31ff1d20374e0fca38e7137452f0b7064ec77c127f9d691f463
3
+ size 63836160
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97aad034a5125124bccd150da53622656e2477c6e722f3077c0ed237437e6389
3
+ size 47012766
precompiled/qualcomm-snapdragon-8gen3/sdk_versions.yml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ sdk_versions:
2
+ qnn_context_binary:
3
+ qairt: 2.37.0.250724175447_124859
4
+ precompiled_qnn_onnx:
5
+ qairt: 2.33.2.250410134701_117956
6
+ onnx_runtime: 1.22.0
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9d5880d780756e56417aa6a23c1648e02cba2fd64e095ea86caa8ca0074e0f4
3
+ size 151846912
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:212d91ba86887971cd98fc13a82e66b3829cbae1c92d6c4b0ff4467d688b1ab9
3
+ size 137259315
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder_float.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:212d91ba86887971cd98fc13a82e66b3829cbae1c92d6c4b0ff4467d688b1ab9
3
+ size 137259315
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7619b8b8d188f1a2f9f92edff8416ecff6eebfe37dbce8ab6b278b5072be32d4
3
+ size 63795200