Download README.md from qualcomm/MobileNet-v4: direct link, hf CLI and curl.
- Browser
- Download file 13.9 kB
-
https://huggingface.co/qualcomm/MobileNet-v4/resolve/main/README.md
- Command line
-
hf download hf://qualcomm/MobileNet-v4/README.md
-
curl -L -o README.md https://huggingface.co/qualcomm/MobileNet-v4/resolve/main/README.md
library_name: pytorch
license: mit
tags:
- backbone
- real_time
- android
pipeline_tag: image-classification
MobileNet-v4: Optimized for Qualcomm Devices
MobileNetV4 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-v4 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.51, ONNX Runtime 1.30.0 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| QNN_DLC | float | Universal | QAIRT 2.51 | Download |
| QNN_DLC | w8a8 | Universal | QAIRT 2.51 | Download |
| TFLITE | float | Universal | QAIRT 2.51 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit MobileNet-v4 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 MobileNet-v4 on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_classification
Model Stats:
- Input resolution: 224x224
- Model checkpoint: Imagenet
- Model size (float): 37.0 MB
- Model size (w8a8): 10.2 MB
- Number of parameters: 9.68M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| MobileNet-v4 | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.444 ms | 0 - 44 MB | NPU |
| MobileNet-v4 | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.499 ms | 0 - 39 MB | NPU |
| MobileNet-v4 | ONNX | float | Snapdragon® X2 Elite | 0.372 ms | 2 - 2 MB | NPU |
| MobileNet-v4 | ONNX | float | Snapdragon® X Elite | 0.807 ms | 22 - 22 MB | NPU |
| MobileNet-v4 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 0.613 ms | 0 - 74 MB | NPU |
| MobileNet-v4 | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 1.44 ms | 0 - 79 MB | NPU |
| MobileNet-v4 | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 1.176 ms | 0 - 5 MB | NPU |
| MobileNet-v4 | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.849 ms | 0 - 2 MB | NPU |
| MobileNet-v4 | ONNX | float | Qualcomm® QCS8450 | 1.44 ms | 0 - 79 MB | NPU |
| MobileNet-v4 | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 1.104 ms | 1 - 4 MB | NPU |
| MobileNet-v4 | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 0.807 ms | 22 - 22 MB | NPU |
| MobileNet-v4 | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 0.499 ms | 0 - 39 MB | NPU |
| MobileNet-v4 | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 0.415 ms | 1 - 40 MB | NPU |
| MobileNet-v4 | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 0.482 ms | 1 - 40 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.336 ms | 0 - 55 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.355 ms | 0 - 53 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® X2 Elite | 0.331 ms | 1 - 1 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® X Elite | 0.538 ms | 11 - 11 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.426 ms | 0 - 84 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 0.761 ms | 0 - 90 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 1.693 ms | 0 - 3 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 0.557 ms | 0 - 4 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.568 ms | 0 - 14 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® QCS8450 | 0.761 ms | 0 - 90 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 0.628 ms | 0 - 4 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 0.538 ms | 11 - 11 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 2.561 ms | 0 - 59 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 0.62 ms | 0 - 56 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 0.355 ms | 0 - 53 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.62 ms | 0 - 56 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 0.298 ms | 0 - 54 MB | NPU |
| MobileNet-v4 | ONNX | w8a8 | Snapdragon® 8 Elite Gen 6 Mobile | 0.324 ms | 0 - 54 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.473 ms | 1 - 40 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.564 ms | 0 - 38 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® X2 Elite | 0.824 ms | 1 - 1 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® X Elite | 1.126 ms | 1 - 1 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 0.82 ms | 0 - 68 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 1.908 ms | 0 - 78 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 1.27 ms | 1 - 4 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.014 ms | 1 - 2 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Qualcomm® QCS8450 | 1.908 ms | 0 - 78 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 1.252 ms | 1 - 3 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 1.126 ms | 1 - 1 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 0.564 ms | 0 - 38 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Qualcomm® SA8295P | 1.917 ms | 0 - 39 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 0.43 ms | 1 - 43 MB | NPU |
| MobileNet-v4 | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 0.521 ms | 0 - 38 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.269 ms | 0 - 48 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.305 ms | 0 - 47 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.333 ms | 0 - 0 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® X Elite | 0.648 ms | 0 - 0 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.419 ms | 0 - 72 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 0.772 ms | 0 - 76 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 2.093 ms | 0 - 2 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 0.554 ms | 0 - 3 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.557 ms | 0 - 2 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 0.772 ms | 0 - 76 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 0.596 ms | 2 - 5 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 0.648 ms | 0 - 0 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 2.887 ms | 0 - 54 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 0.691 ms | 0 - 50 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 0.305 ms | 0 - 47 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Qualcomm® SA8295P | 1.012 ms | 0 - 47 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.691 ms | 0 - 50 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 0.222 ms | 0 - 49 MB | NPU |
| MobileNet-v4 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 6 Mobile | 0.298 ms | 0 - 49 MB | NPU |
| MobileNet-v4 | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.478 ms | 0 - 57 MB | NPU |
| MobileNet-v4 | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 0.57 ms | 0 - 57 MB | NPU |
| MobileNet-v4 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 0.802 ms | 0 - 85 MB | NPU |
| MobileNet-v4 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 1.926 ms | 0 - 97 MB | NPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 1.263 ms | 0 - 26 MB | NPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.011 ms | 0 - 3 MB | NPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® SA8775P | 7.06 ms | 0 - 25 MB | GPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® SA8650P | 7.06 ms | 0 - 25 MB | GPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® SA8255P | 7.06 ms | 0 - 25 MB | GPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® QCS8450 | 1.926 ms | 0 - 97 MB | NPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 1.247 ms | 0 - 25 MB | NPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 0.57 ms | 0 - 57 MB | NPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® SA7255P | 12.28 ms | 0 - 24 MB | GPU |
| MobileNet-v4 | TFLITE | float | Qualcomm® SA8295P | 1.905 ms | 0 - 53 MB | NPU |
| MobileNet-v4 | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 0.433 ms | 0 - 52 MB | NPU |
| MobileNet-v4 | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 0.539 ms | 0 - 51 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.214 ms | 0 - 46 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.247 ms | 0 - 45 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.297 ms | 0 - 73 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 0.57 ms | 0 - 83 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 1.722 ms | 0 - 19 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 0.401 ms | 0 - 14 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.384 ms | 0 - 3 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® SA8775P | 7.399 ms | 1 - 28 MB | GPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® SA8650P | 7.399 ms | 1 - 28 MB | GPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® SA8255P | 7.399 ms | 1 - 28 MB | GPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® QCS8450 | 0.57 ms | 0 - 83 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 0.411 ms | 0 - 13 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 2.344 ms | 0 - 52 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 0.518 ms | 0 - 46 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 0.247 ms | 0 - 45 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® SA7255P | 12.789 ms | 1 - 27 MB | GPU |
| MobileNet-v4 | TFLITE | w8a8 | Qualcomm® SA8295P | 0.826 ms | 0 - 45 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 0.518 ms | 0 - 46 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 0.188 ms | 0 - 46 MB | NPU |
| MobileNet-v4 | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 6 Mobile | 0.206 ms | 0 - 46 MB | NPU |
License
- The license for the original implementation of MobileNet-v4 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.
