HuggingFace-WavLM-Base-Plus: Optimized for Qualcomm Devices
HuggingFaceWavLMBasePlus is a real time speech processing backbone based on Microsoft's WavLM model.
This is based on the implementation of HuggingFace-WavLM-Base-Plus found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® 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 |
|---|---|---|---|---|
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.3 | Download |
| QNN_DLC | float | Universal | QAIRT 2.45 | Download |
| TFLITE | float | Universal | QAIRT 2.45 | Download |
For more device-specific assets and performance metrics, visit HuggingFace-WavLM-Base-Plus on Qualcomm® AI Hub.
Option 2: Export with Custom Configurations
Use the Qualcomm® AI Hub Models 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 HuggingFace-WavLM-Base-Plus on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.speech_recognition
Model Stats:
- Model checkpoint: wavlm-libri-clean-100h-base-plus
- Input resolution: 1x320000
- Number of parameters: 95.1M
- Model size (float): 363 MB
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| HuggingFace-WavLM-Base-Plus | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 152.841 ms | 1 - 1377 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Snapdragon® 8 Elite Mobile | 190.959 ms | 1 - 1264 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Snapdragon® X2 Elite | 153.955 ms | 203 - 203 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Snapdragon® X Elite | 329.807 ms | 203 - 203 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Snapdragon® X Elite | 329.807 ms | 203 - 203 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 268.016 ms | 1 - 1525 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Qualcomm® QCS8550 (Proxy) | 352.596 ms | 0 - 229 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Qualcomm® QCS9075 | 425.487 ms | 1 - 4 MB | NPU |
| HuggingFace-WavLM-Base-Plus | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 190.959 ms | 1 - 1264 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 120.866 ms | 1 - 1039 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 161.57 ms | 1 - 1019 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Snapdragon® X2 Elite | 119.949 ms | 1 - 1 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Snapdragon® X Elite | 294.507 ms | 1 - 1 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Snapdragon® X Elite | 294.507 ms | 1 - 1 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 228.351 ms | 0 - 1385 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 856.009 ms | 1 - 1030 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 300.831 ms | 1 - 3 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® SA8775P | 340.787 ms | 1 - 995 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® SA8775P | 340.787 ms | 1 - 995 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® SA8775P | 340.787 ms | 1 - 995 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® QCS9075 | 354.044 ms | 1 - 3 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 525.704 ms | 0 - 1506 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® SA7255P | 856.009 ms | 1 - 1030 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Qualcomm® SA8295P | 435.368 ms | 1 - 1153 MB | NPU |
| HuggingFace-WavLM-Base-Plus | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 161.57 ms | 1 - 1019 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 166.293 ms | 0 - 1115 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Snapdragon® 8 Elite Mobile | 201.089 ms | 0 - 1115 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 306.597 ms | 0 - 1531 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 942.131 ms | 1 - 1119 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 369.382 ms | 0 - 4 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® SA8775P | 402.856 ms | 0 - 1100 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® SA8775P | 402.856 ms | 0 - 1100 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® SA8775P | 402.856 ms | 0 - 1100 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® QCS9075 | 472.823 ms | 0 - 212 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 608.8 ms | 1 - 1591 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® SA7255P | 942.131 ms | 1 - 1119 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Qualcomm® SA8295P | 526.755 ms | 0 - 1220 MB | NPU |
| HuggingFace-WavLM-Base-Plus | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 201.089 ms | 0 - 1115 MB | NPU |
License
- The license for the original implementation of HuggingFace-WavLM-Base-Plus can be found here.
References
- WavLM: Large-Scale Self-Supervised Pre-Training for Full Stack Speech Processing
- Source Model Implementation
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
