File size: 9,502 Bytes
3d6d528 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | ---
library_name: pytorch
license: other
tags:
- backbone
- bu_auto
- real_time
- android
pipeline_tag: image-classification
---

# MobileNet-v3-Small: Optimized for Qualcomm Devices
MobileNetV3Small 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 MobileNet-v3-Small found [here](https://github.com/pytorch/vision/blob/main/torchvision/models/mobilenetv3.py).
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/main/src/qai_hub_models/models/mobilenet_v3_small) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) 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.25.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobilenet_v3_small/releases/v0.55.0/mobilenet_v3_small-onnx-float.zip)
| QNN_DLC | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobilenet_v3_small/releases/v0.55.0/mobilenet_v3_small-qnn_dlc-float.zip)
| QNN_DLC | w8a16 | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobilenet_v3_small/releases/v0.55.0/mobilenet_v3_small-qnn_dlc-w8a16.zip)
| TFLITE | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobilenet_v3_small/releases/v0.55.0/mobilenet_v3_small-tflite-float.zip)
For more device-specific assets and performance metrics, visit **[MobileNet-v3-Small on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/mobilenet_v3_small)**.
### Option 2: Export with Custom Configurations
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/main/src/qai_hub_models/models/mobilenet_v3_small) 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 [MobileNet-v3-Small on GitHub](https://github.com/qualcomm/ai-hub-models/blob/main/src/qai_hub_models/models/mobilenet_v3_small) for usage instructions.
## Model Details
**Model Type:** Model_use_case.image_classification
**Model Stats:**
- Model checkpoint: Imagenet
- Input resolution: 224x224
- Number of parameters: 2.54M
- Model size (float): 9.71 MB
## Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|---|---|---|---|---|---|---
| MobileNet-v3-Small | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.243 ms | 0 - 34 MB | NPU
| MobileNet-v3-Small | ONNX | float | Snapdragon® X2 Elite | 0.274 ms | 180 - 180 MB | NPU
| MobileNet-v3-Small | ONNX | float | Snapdragon® X Elite | 0.553 ms | 148 - 148 MB | NPU
| MobileNet-v3-Small | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 0.353 ms | 0 - 52 MB | NPU
| MobileNet-v3-Small | ONNX | float | Qualcomm® QCS8550 (Proxy) | 0.551 ms | 0 - 89 MB | NPU
| MobileNet-v3-Small | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.284 ms | 0 - 30 MB | NPU
| MobileNet-v3-Small | ONNX | float | Qualcomm® QCS9075 | 0.771 ms | 0 - 51 MB | NPU
| MobileNet-v3-Small | ONNX | float | Qualcomm® QCS8750 | 0.284 ms | 0 - 30 MB | NPU
| MobileNet-v3-Small | ONNX | float | Qualcomm® QCS7181 | 0.553 ms | 148 - 148 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.319 ms | 1 - 34 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Snapdragon® X2 Elite | 0.454 ms | 1 - 1 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Snapdragon® X Elite | 0.963 ms | 1 - 1 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 0.546 ms | 0 - 43 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® QCS8275 | 2.079 ms | 1 - 28 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 0.834 ms | 1 - 2 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® SA8775P | 1.1 ms | 1 - 32 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® SA8650P | 1.1 ms | 1 - 32 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® SA8255P | 1.1 ms | 1 - 32 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 1.579 ms | 0 - 46 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® SA7255P | 2.079 ms | 1 - 28 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® SA8295P | 1.446 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.411 ms | 0 - 33 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® QCS9075 | 0.98 ms | 1 - 3 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® QCS8750 | 0.411 ms | 0 - 33 MB | NPU
| MobileNet-v3-Small | QNN_DLC | float | Qualcomm® QCS7181 | 0.963 ms | 1 - 1 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 0.309 ms | 0 - 31 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 0.435 ms | 0 - 0 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Snapdragon® X Elite | 0.925 ms | 0 - 0 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 0.557 ms | 0 - 39 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS6490 | 2.15 ms | 0 - 2 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS8275 | 1.7 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 0.79 ms | 0 - 9 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® SA8775P | 0.991 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® SA8650P | 0.991 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® SA8255P | 0.991 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCM6690 | 2.816 ms | 0 - 141 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® SA7255P | 1.7 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® SA8295P | 1.307 ms | 0 - 26 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 0.8 ms | 0 - 26 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 0.37 ms | 0 - 26 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 0.954 ms | 0 - 2 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS8450 (Proxy) | 0.988 ms | 0 - 41 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS7790 | 0.8 ms | 0 - 26 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS8750 | 0.37 ms | 0 - 26 MB | NPU
| MobileNet-v3-Small | QNN_DLC | w8a16 | Qualcomm® QCS7181 | 0.925 ms | 0 - 0 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.321 ms | 0 - 35 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 0.552 ms | 0 - 44 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® QCS8275 | 2.156 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 0.839 ms | 0 - 2 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® SA8775P | 1.141 ms | 0 - 32 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® SA8650P | 1.141 ms | 0 - 32 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® SA8255P | 1.141 ms | 0 - 32 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 1.6 ms | 0 - 46 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® SA7255P | 2.156 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® SA8295P | 1.485 ms | 0 - 29 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.423 ms | 0 - 34 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® QCS9075 | 1.013 ms | 0 - 8 MB | NPU
| MobileNet-v3-Small | TFLITE | float | Qualcomm® QCS8750 | 0.423 ms | 0 - 34 MB | NPU
## License
* The license for the original implementation of MobileNet-v3-Small can be found
[here](https://github.com/pytorch/vision/blob/main/LICENSE).
## References
* [Searching for MobileNetV3](https://arxiv.org/abs/1905.02244)
* [Source Model Implementation](https://github.com/pytorch/vision/blob/main/torchvision/models/mobilenetv3.py)
## Community
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|