WideResNet50: Optimized for Qualcomm Devices
WideResNet50 is a machine learning model that can classify images from the Imagenet dataset. It can also be used as a backbone in building more complex models for specific use cases.
This is based on the implementation of WideResNet50 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.45, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.45, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.45 | Download |
| QNN_DLC | w8a8 | Universal | QAIRT 2.45 | Download |
| TFLITE | float | Universal | QAIRT 2.45 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.45 | Download |
For more device-specific assets and performance metrics, visit WideResNet50 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 WideResNet50 on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_classification
Model Stats:
- Model checkpoint: Imagenet
- Input resolution: 224x224
- Number of parameters: 68.9M
- Model size (float): 263 MB
- Model size (w8a8): 66.6 MB
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| WideResNet50 | ONNX | float | Snapdragon® X2 Elite | 2.128 ms | 2 - 2 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® X Elite | 4.223 ms | 132 - 132 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 3.522 ms | 0 - 218 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 8.791 ms | 1 - 200 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.514 ms | 0 - 489 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® QCS8450 | 8.791 ms | 1 - 200 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 6.606 ms | 0 - 4 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.223 ms | 132 - 132 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.856 ms | 0 - 174 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite Mobile | 2.856 ms | 0 - 174 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.427 ms | 0 - 172 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X2 Elite | 0.807 ms | 1 - 1 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X Elite | 1.681 ms | 67 - 67 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.401 ms | 0 - 132 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.596 ms | 0 - 136 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.073 ms | 0 - 3 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.861 ms | 0 - 92 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® QCS8450 | 2.596 ms | 0 - 136 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.928 ms | 0 - 3 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.681 ms | 67 - 67 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.22 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 1.22 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.158 ms | 0 - 60 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X2 Elite | 2.534 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X Elite | 4.741 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 3.643 ms | 0 - 224 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 9.208 ms | 0 - 198 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8275 | 24.503 ms | 1 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.814 ms | 1 - 297 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8775P | 7.142 ms | 1 - 169 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8650P | 7.142 ms | 1 - 169 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8255P | 7.142 ms | 1 - 169 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® QCS8450 | 9.208 ms | 0 - 198 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 7.118 ms | 1 - 3 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.741 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 2.945 ms | 0 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA7255P | 24.503 ms | 1 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8295P | 7.833 ms | 1 - 152 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 2.945 ms | 0 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.575 ms | 1 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.883 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X Elite | 1.794 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.39 ms | 0 - 129 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.512 ms | 0 - 132 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.407 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8275 | 3.978 ms | 0 - 55 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.852 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8775P | 2.024 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8650P | 2.024 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8255P | 2.024 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 2.512 ms | 0 - 132 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.89 ms | 2 - 4 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.794 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 21.331 ms | 0 - 216 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.852 ms | 0 - 215 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.197 ms | 0 - 56 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA7255P | 3.978 ms | 0 - 55 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8295P | 2.731 ms | 0 - 53 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 1.197 ms | 0 - 56 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.093 ms | 0 - 59 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.852 ms | 0 - 215 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 3.568 ms | 0 - 213 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 8.178 ms | 0 - 193 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ QCS8275 | 23.772 ms | 0 - 101 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.752 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8775P | 7.04 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8650P | 7.04 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8255P | 7.04 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® QCS8450 | 8.178 ms | 0 - 193 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 6.749 ms | 0 - 134 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 2.858 ms | 0 - 107 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA7255P | 23.772 ms | 0 - 101 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8295P | 7.761 ms | 0 - 88 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite Mobile | 2.858 ms | 0 - 107 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.538 ms | 0 - 103 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.329 ms | 0 - 129 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.397 ms | 0 - 129 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 8.978 ms | 0 - 68 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8275 | 3.729 ms | 0 - 52 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.733 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8775P | 1.883 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8650P | 1.883 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8255P | 1.883 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® QCS8450 | 2.397 ms | 0 - 129 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.747 ms | 0 - 68 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 18.207 ms | 0 - 215 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.719 ms | 0 - 207 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.122 ms | 0 - 55 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA7255P | 3.729 ms | 0 - 52 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8295P | 2.578 ms | 0 - 50 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 1.122 ms | 0 - 55 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.052 ms | 0 - 55 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.719 ms | 0 - 207 MB | NPU |
License
- The license for the original implementation of WideResNet50 can be found here.
References
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.
