qaihm-bot commited on
Commit
bd29eb9
·
verified ·
1 Parent(s): bd72457

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-Small_HfWhisperDecoder.bin +3 -0
  6. precompiled/qualcomm-qcs8275-proxy/Whisper-Small_HfWhisperEncoder.bin +3 -0
  7. precompiled/qualcomm-qcs8275-proxy/sdk_versions.yml +3 -0
  8. precompiled/qualcomm-qcs8450-proxy/Whisper-Small_HfWhisperDecoder.bin +3 -0
  9. precompiled/qualcomm-qcs8450-proxy/Whisper-Small_HfWhisperEncoder.bin +3 -0
  10. precompiled/qualcomm-qcs8450-proxy/sdk_versions.yml +3 -0
  11. precompiled/qualcomm-qcs8550-proxy/Whisper-Small_HfWhisperDecoder.bin +3 -0
  12. precompiled/qualcomm-qcs8550-proxy/Whisper-Small_HfWhisperEncoder.bin +3 -0
  13. precompiled/qualcomm-qcs8550-proxy/sdk_versions.yml +3 -0
  14. precompiled/qualcomm-qcs9075-proxy/Whisper-Small_HfWhisperDecoder.bin +3 -0
  15. precompiled/qualcomm-qcs9075-proxy/Whisper-Small_HfWhisperEncoder.bin +3 -0
  16. precompiled/qualcomm-qcs9075-proxy/sdk_versions.yml +3 -0
  17. precompiled/qualcomm-sa7255p/Whisper-Small_HfWhisperDecoder.bin +3 -0
  18. precompiled/qualcomm-sa7255p/Whisper-Small_HfWhisperEncoder.bin +3 -0
  19. precompiled/qualcomm-sa7255p/sdk_versions.yml +3 -0
  20. precompiled/qualcomm-sa8255p-proxy/Whisper-Small_HfWhisperDecoder.bin +3 -0
  21. precompiled/qualcomm-sa8255p-proxy/Whisper-Small_HfWhisperEncoder.bin +3 -0
  22. precompiled/qualcomm-sa8255p-proxy/sdk_versions.yml +3 -0
  23. precompiled/qualcomm-sa8295p/Whisper-Small_HfWhisperDecoder.bin +3 -0
  24. precompiled/qualcomm-sa8295p/Whisper-Small_HfWhisperEncoder.bin +3 -0
  25. precompiled/qualcomm-sa8295p/sdk_versions.yml +3 -0
  26. precompiled/qualcomm-sa8650p-proxy/Whisper-Small_HfWhisperDecoder.bin +3 -0
  27. precompiled/qualcomm-sa8650p-proxy/Whisper-Small_HfWhisperEncoder.bin +3 -0
  28. precompiled/qualcomm-sa8650p-proxy/sdk_versions.yml +3 -0
  29. precompiled/qualcomm-sa8775p/Whisper-Small_HfWhisperDecoder.bin +3 -0
  30. precompiled/qualcomm-sa8775p/Whisper-Small_HfWhisperEncoder.bin +3 -0
  31. precompiled/qualcomm-sa8775p/sdk_versions.yml +3 -0
  32. precompiled/qualcomm-snapdragon-8-elite/Whisper-Small_HfWhisperDecoder.bin +3 -0
  33. precompiled/qualcomm-snapdragon-8-elite/Whisper-Small_HfWhisperDecoder.onnx.zip +3 -0
  34. precompiled/qualcomm-snapdragon-8-elite/Whisper-Small_HfWhisperEncoder.bin +3 -0
  35. precompiled/qualcomm-snapdragon-8-elite/Whisper-Small_HfWhisperEncoder.onnx.zip +3 -0
  36. precompiled/qualcomm-snapdragon-8-elite/sdk_versions.yml +6 -0
  37. precompiled/qualcomm-snapdragon-8gen2/Whisper-Small_HfWhisperDecoder.bin +3 -0
  38. precompiled/qualcomm-snapdragon-8gen2/Whisper-Small_HfWhisperDecoder.onnx.zip +3 -0
  39. precompiled/qualcomm-snapdragon-8gen2/Whisper-Small_HfWhisperEncoder.bin +3 -0
  40. precompiled/qualcomm-snapdragon-8gen2/Whisper-Small_HfWhisperEncoder.onnx.zip +3 -0
  41. precompiled/qualcomm-snapdragon-8gen2/sdk_versions.yml +6 -0
  42. precompiled/qualcomm-snapdragon-8gen3/Whisper-Small_HfWhisperDecoder.bin +3 -0
  43. precompiled/qualcomm-snapdragon-8gen3/Whisper-Small_HfWhisperDecoder.onnx.zip +3 -0
  44. precompiled/qualcomm-snapdragon-8gen3/Whisper-Small_HfWhisperEncoder.bin +3 -0
  45. precompiled/qualcomm-snapdragon-8gen3/Whisper-Small_HfWhisperEncoder.onnx.zip +3 -0
  46. precompiled/qualcomm-snapdragon-8gen3/sdk_versions.yml +6 -0
  47. precompiled/qualcomm-snapdragon-x-elite/Whisper-Small_HfWhisperDecoder.bin +3 -0
  48. precompiled/qualcomm-snapdragon-x-elite/Whisper-Small_HfWhisperDecoder.onnx.zip +3 -0
  49. precompiled/qualcomm-snapdragon-x-elite/Whisper-Small_HfWhisperEncoder.bin +3 -0
  50. precompiled/qualcomm-snapdragon-x-elite/Whisper-Small_HfWhisperEncoder.onnx.zip +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_small/web-assets/model_demo.png)
12
+
13
+ # Whisper-Small: 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-Small 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-Small on Qualcomm® devices.
23
+ More details on model performance across various devices, can be found
24
+ [here](https://aihub.qualcomm.com/models/whisper_small).
25
+
26
+
27
+
28
+ ### Model Details
29
+
30
+ - **Model Type:** Model_use_case.speech_recognition
31
+ - **Model Stats:**
32
+ - Model checkpoint: openai/whisper-small
33
+ - Input resolution: 80x3000 (30 seconds audio)
34
+ - Max decoded sequence length: 200 tokens
35
+ - Number of parameters (HfWhisperEncoder): 102M
36
+ - Model size (HfWhisperEncoder) (float): 391 MB
37
+ - Number of parameters (HfWhisperDecoder): 139M
38
+ - Model size (HfWhisperDecoder) (float): 533 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 | 424.037 ms | 1 - 10 MB | NPU | Use Export Script |
43
+ | HfWhisperEncoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_CONTEXT_BINARY | 314.877 ms | 0 - 18 MB | NPU | Use Export Script |
44
+ | HfWhisperEncoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_CONTEXT_BINARY | 132.256 ms | 8 - 10 MB | NPU | Use Export Script |
45
+ | HfWhisperEncoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_CONTEXT_BINARY | 154.294 ms | 1 - 10 MB | NPU | Use Export Script |
46
+ | HfWhisperEncoder | float | SA7255P ADP | Qualcomm® SA7255P | QNN_CONTEXT_BINARY | 424.037 ms | 1 - 10 MB | NPU | Use Export Script |
47
+ | HfWhisperEncoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_CONTEXT_BINARY | 136.109 ms | 1 - 3 MB | NPU | Use Export Script |
48
+ | HfWhisperEncoder | float | SA8295P ADP | Qualcomm® SA8295P | QNN_CONTEXT_BINARY | 241.55 ms | 0 - 17 MB | NPU | Use Export Script |
49
+ | HfWhisperEncoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_CONTEXT_BINARY | 138.032 ms | 1 - 3 MB | NPU | Use Export Script |
50
+ | HfWhisperEncoder | float | SA8775P ADP | Qualcomm® SA8775P | QNN_CONTEXT_BINARY | 154.294 ms | 1 - 10 MB | NPU | Use Export Script |
51
+ | HfWhisperEncoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_CONTEXT_BINARY | 134.534 ms | 1 - 3 MB | NPU | Use Export Script |
52
+ | HfWhisperEncoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | PRECOMPILED_QNN_ONNX | 138.173 ms | 0 - 258 MB | NPU | Use Export Script |
53
+ | HfWhisperEncoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_CONTEXT_BINARY | 102.365 ms | 0 - 19 MB | NPU | Use Export Script |
54
+ | HfWhisperEncoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | PRECOMPILED_QNN_ONNX | 105.447 ms | 128 - 147 MB | NPU | Use Export Script |
55
+ | HfWhisperEncoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_CONTEXT_BINARY | 86.361 ms | 0 - 14 MB | NPU | Use Export Script |
56
+ | HfWhisperEncoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | PRECOMPILED_QNN_ONNX | 89.991 ms | 129 - 143 MB | NPU | Use Export Script |
57
+ | HfWhisperEncoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_CONTEXT_BINARY | 130.698 ms | 0 - 0 MB | NPU | Use Export Script |
58
+ | HfWhisperEncoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | PRECOMPILED_QNN_ONNX | 131.817 ms | 227 - 227 MB | NPU | Use Export Script |
59
+ | HfWhisperDecoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_CONTEXT_BINARY | 18.261 ms | 45 - 54 MB | NPU | Use Export Script |
60
+ | HfWhisperDecoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_CONTEXT_BINARY | 17.513 ms | 52 - 73 MB | NPU | Use Export Script |
61
+ | HfWhisperDecoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_CONTEXT_BINARY | 12.24 ms | 53 - 55 MB | NPU | Use Export Script |
62
+ | HfWhisperDecoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_CONTEXT_BINARY | 13.211 ms | 45 - 55 MB | NPU | Use Export Script |
63
+ | HfWhisperDecoder | float | SA7255P ADP | Qualcomm® SA7255P | QNN_CONTEXT_BINARY | 18.261 ms | 45 - 54 MB | NPU | Use Export Script |
64
+ | HfWhisperDecoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_CONTEXT_BINARY | 11.863 ms | 66 - 68 MB | NPU | Use Export Script |
65
+ | HfWhisperDecoder | float | SA8295P ADP | Qualcomm® SA8295P | QNN_CONTEXT_BINARY | 14.789 ms | 58 - 73 MB | NPU | Use Export Script |
66
+ | HfWhisperDecoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_CONTEXT_BINARY | 11.818 ms | 64 - 66 MB | NPU | Use Export Script |
67
+ | HfWhisperDecoder | float | SA8775P ADP | Qualcomm® SA8775P | QNN_CONTEXT_BINARY | 13.211 ms | 45 - 55 MB | NPU | Use Export Script |
68
+ | HfWhisperDecoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_CONTEXT_BINARY | 12.05 ms | 65 - 69 MB | NPU | Use Export Script |
69
+ | HfWhisperDecoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | PRECOMPILED_QNN_ONNX | 13.294 ms | 0 - 319 MB | NPU | Use Export Script |
70
+ | HfWhisperDecoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_CONTEXT_BINARY | 9.634 ms | 55 - 74 MB | NPU | Use Export Script |
71
+ | HfWhisperDecoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | PRECOMPILED_QNN_ONNX | 10.846 ms | 75 - 95 MB | NPU | Use Export Script |
72
+ | HfWhisperDecoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_CONTEXT_BINARY | 8.157 ms | 60 - 75 MB | NPU | Use Export Script |
73
+ | HfWhisperDecoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | PRECOMPILED_QNN_ONNX | 8.731 ms | 73 - 87 MB | NPU | Use Export Script |
74
+ | HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_CONTEXT_BINARY | 10.432 ms | 60 - 60 MB | NPU | Use Export Script |
75
+ | HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | PRECOMPILED_QNN_ONNX | 10.429 ms | 286 - 286 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-small]"
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_small.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_small.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_small.export
132
+ ```
133
+
134
+
135
+
136
+ ## How does this work?
137
+
138
+ This [export script](https://aihub.qualcomm.com/models/whisper_small/qai_hub_models/models/Whisper-Small/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_small 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-Small's performance across various devices [here](https://aihub.qualcomm.com/models/whisper_small).
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-Small 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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1346f897406292a6b55a7d357c4c2a2d910a892417fbc345bbff297c76f592c9
3
+ size 361365504
precompiled/qualcomm-qcs8275-proxy/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e26d547e17790a5766c5fe21dc3c108d0ef75ab0688c68622ea5476d752b26a5
3
+ size 236208128
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e7afda73190825ccc28d685e0f69bd3c2f6f10d12c0f3e6ecbcda99f677107f
3
+ size 359784448
precompiled/qualcomm-qcs8450-proxy/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6aaf032a963e52d86a02bc8c64814165c194c9ba598f384e2596bb02a906028c
3
+ size 218316800
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53306e6d2f5c950cff0d325a24ae9d804259c0a7edaa92ebd6181fbbe0b77768
3
+ size 361381888
precompiled/qualcomm-qcs8550-proxy/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05ec48372bff0de0dbec0b6e49195c310805e076e6841fa1b4e9ab8b21e3eb90
3
+ size 236367872
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35a15e38e74a05b1d84629f15b9840d2c26b09ff31de6f7e727a4afdc229fa26
3
+ size 361373696
precompiled/qualcomm-qcs9075-proxy/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8c05d154d45081caa703f8e0a33a64f2e00dd954ae95cd6aaed5e7129e21e2b
3
+ size 236154880
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1346f897406292a6b55a7d357c4c2a2d910a892417fbc345bbff297c76f592c9
3
+ size 361365504
precompiled/qualcomm-sa7255p/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e26d547e17790a5766c5fe21dc3c108d0ef75ab0688c68622ea5476d752b26a5
3
+ size 236208128
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53306e6d2f5c950cff0d325a24ae9d804259c0a7edaa92ebd6181fbbe0b77768
3
+ size 361381888
precompiled/qualcomm-sa8255p-proxy/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05ec48372bff0de0dbec0b6e49195c310805e076e6841fa1b4e9ab8b21e3eb90
3
+ size 236367872
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:281884ee7572dab3d1b60878bb05cbd13313349830fc763976ea221124034f31
3
+ size 359763968
precompiled/qualcomm-sa8295p/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baef055864bfcf84f2217aee0e3af4ef51d7072d1c2eaae91757de01d20bd84e
3
+ size 218382336
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53306e6d2f5c950cff0d325a24ae9d804259c0a7edaa92ebd6181fbbe0b77768
3
+ size 361381888
precompiled/qualcomm-sa8650p-proxy/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05ec48372bff0de0dbec0b6e49195c310805e076e6841fa1b4e9ab8b21e3eb90
3
+ size 236367872
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35a15e38e74a05b1d84629f15b9840d2c26b09ff31de6f7e727a4afdc229fa26
3
+ size 361373696
precompiled/qualcomm-sa8775p/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8c05d154d45081caa703f8e0a33a64f2e00dd954ae95cd6aaed5e7129e21e2b
3
+ size 236154880
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12e71d51459e66cb1c9127328c4a160d3606f54abbb74b42c4ead7f39b42f38f
3
+ size 361291776
precompiled/qualcomm-snapdragon-8-elite/Whisper-Small_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e6f9e7608a66b9f1d3af0659f51441e5686b403097d368a56f14c7ed9603607
3
+ size 330432535
precompiled/qualcomm-snapdragon-8-elite/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a20824548619ee0fd9eec6878c03bc27655e4eabf9f68b39995b3f1acc7ad1a
3
+ size 235958272
precompiled/qualcomm-snapdragon-8-elite/Whisper-Small_HfWhisperEncoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4504dedf932f69c95aaa30df710e8bdce98787992fd4b6d5bf17d0a215c956ee
3
+ size 196175657
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53306e6d2f5c950cff0d325a24ae9d804259c0a7edaa92ebd6181fbbe0b77768
3
+ size 361381888
precompiled/qualcomm-snapdragon-8gen2/Whisper-Small_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b04c2fa55da6ceb37c9782f431b4d96e54e9b9566bf6cd2dbac2b7c1b5f61d00
3
+ size 330469625
precompiled/qualcomm-snapdragon-8gen2/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05ec48372bff0de0dbec0b6e49195c310805e076e6841fa1b4e9ab8b21e3eb90
3
+ size 236367872
precompiled/qualcomm-snapdragon-8gen2/Whisper-Small_HfWhisperEncoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d8ff7c7f3d4b47231792485ba27b0504d97fed4ba7f63448404a71694648799
3
+ size 197747935
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d8322fe098b359133915828e93a36b51f77edeaa428d194cea1989f484ae0a7
3
+ size 361369600
precompiled/qualcomm-snapdragon-8gen3/Whisper-Small_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d668ec279ebd2a01525fd320e389fb140b31d1cdc5490cc31fc971de436935e
3
+ size 330472065
precompiled/qualcomm-snapdragon-8gen3/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6cbc6d2ed3b1ae7c674230937ff8a3bb3d20b2cbfa27c48e24958d8f9ba911f
3
+ size 236478464
precompiled/qualcomm-snapdragon-8gen3/Whisper-Small_HfWhisperEncoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e983757f38c492f2b54de9901d010de394eeda13cd07daa608466401838849b
3
+ size 196723296
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-Small_HfWhisperDecoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bb7c14ab5f39b9cab50c29d5deb05f57fa130e52544fd18c9338e306707c566
3
+ size 361385984
precompiled/qualcomm-snapdragon-x-elite/Whisper-Small_HfWhisperDecoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43425810d8d78355c30f3cffe5943904f7d36aa212c191ddacfdb22c3d28a6d9
3
+ size 330473991
precompiled/qualcomm-snapdragon-x-elite/Whisper-Small_HfWhisperEncoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4e53de4d1405ec58ade84b8edcd6dd5005394c6d7a78a7fb9c740e38fe92afc
3
+ size 236400640
precompiled/qualcomm-snapdragon-x-elite/Whisper-Small_HfWhisperEncoder.onnx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38e489759b13e47a1d158e16486785751334a3dfb3730d47b5787c651a5ee92e
3
+ size 197739694