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.25.0 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.45, ONNX Runtime 1.25.0 | 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.131 ms | 2 - 2 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® X Elite | 4.221 ms | 132 - 132 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 3.539 ms | 0 - 218 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 8.775 ms | 0 - 199 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.522 ms | 0 - 161 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® QCS8450 | 8.775 ms | 0 - 199 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 6.621 ms | 0 - 4 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.426 ms | 0 - 172 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite Mobile | 2.906 ms | 0 - 175 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.906 ms | 0 - 175 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.221 ms | 132 - 132 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X2 Elite | 0.837 ms | 1 - 1 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X Elite | 1.685 ms | 67 - 67 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.397 ms | 0 - 131 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.584 ms | 0 - 136 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 8.982 ms | 0 - 3 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.871 ms | 0 - 131 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® QCS8450 | 2.584 ms | 0 - 136 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 1.23 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.798 ms | 0 - 215 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.15 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.915 ms | 0 - 3 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 21.539 ms | 0 - 217 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.798 ms | 0 - 215 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.23 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.685 ms | 67 - 67 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X2 Elite | 2.536 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X Elite | 4.711 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 3.651 ms | 0 - 225 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 9.208 ms | 0 - 197 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® QCS8275 | 24.503 ms | 1 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.837 ms | 1 - 12 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8775P | 7.141 ms | 1 - 169 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8650P | 7.141 ms | 1 - 169 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8255P | 7.141 ms | 1 - 169 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® QCS8450 | 9.208 ms | 0 - 197 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 6.863 ms | 1 - 3 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.575 ms | 1 - 173 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA7255P | 24.503 ms | 1 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 2.9 ms | 0 - 176 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8295P | 7.856 ms | 1 - 152 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 2.9 ms | 0 - 176 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.711 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 1.031 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X Elite | 1.779 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.4 ms | 0 - 128 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.511 ms | 0 - 131 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.244 ms | 2 - 4 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® QCS8275 | 4.034 ms | 0 - 55 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.847 ms | 0 - 34 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8775P | 2.02 ms | 0 - 56 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8650P | 2.02 ms | 0 - 56 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8255P | 2.02 ms | 0 - 56 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 2.511 ms | 0 - 131 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 1.204 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.854 ms | 0 - 215 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.09 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.902 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 19.503 ms | 0 - 216 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8295P | 2.745 ms | 0 - 53 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA7255P | 4.034 ms | 0 - 55 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.854 ms | 0 - 215 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.204 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.779 ms | 0 - 0 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 3.577 ms | 0 - 215 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 8.174 ms | 0 - 192 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® QCS8275 | 148.009 ms | 0 - 18 MB | GPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.76 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8775P | 7.038 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8650P | 7.038 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8255P | 7.038 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® QCS8450 | 8.174 ms | 0 - 192 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 6.777 ms | 0 - 135 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.538 ms | 0 - 104 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA7255P | 148.009 ms | 0 - 18 MB | GPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite Mobile | 2.853 ms | 0 - 106 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8295P | 7.758 ms | 0 - 89 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 2.853 ms | 0 - 106 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.328 ms | 0 - 127 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.389 ms | 0 - 129 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.06 ms | 0 - 68 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® QCS8275 | 3.728 ms | 0 - 52 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.729 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8775P | 1.898 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8650P | 1.898 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8255P | 1.898 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® QCS8450 | 2.389 ms | 0 - 129 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 1.117 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.73 ms | 0 - 207 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.05 ms | 0 - 55 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.748 ms | 0 - 68 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 17.348 ms | 0 - 212 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8295P | 2.577 ms | 0 - 56 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA7255P | 3.728 ms | 0 - 52 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.73 ms | 0 - 207 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.117 ms | 0 - 54 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.
