MNASNet05 / README.md
qaihm-bot's picture
v0.61.0
0a3412a verified
|
Raw
History Blame Contribute Delete
11.3 kB
metadata
library_name: pytorch
license: bsd-3-clause
tags:
  - backbone
  - bu_auto
  - android
pipeline_tag: image-classification

MNASNet05: Optimized for Qualcomm Devices

MNASNet05 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 MNASNet05 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 w8a16 Universal QAIRT 2.45, ONNX Runtime 1.27.1 Download
QNN_DLC float Universal QAIRT 2.45 Download
QNN_DLC w8a16 Universal QAIRT 2.45 Download
TFLITE float Universal QAIRT 2.45 Download

For more device-specific assets and performance metrics, visit MNASNet05 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 MNASNet05 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): 8.45 MB
  • Model size (w8a16): 2.79 MB
  • Number of parameters: 2.21M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
MNASNet05 ONNX float Snapdragon® X2 Elite 0.229 ms 2 - 2 MB NPU
MNASNet05 ONNX float Snapdragon® X Elite 0.485 ms 5 - 5 MB NPU
MNASNet05 ONNX float Snapdragon® 8 Gen 3 Mobile 0.328 ms 0 - 47 MB NPU
MNASNet05 ONNX float Snapdragon® 8 Gen 1 Mobile 0.877 ms 1 - 52 MB NPU
MNASNet05 ONNX float Qualcomm® Dragonwing™ IQ-8275 0.705 ms 1 - 4 MB NPU
MNASNet05 ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 0.486 ms 0 - 7 MB NPU
MNASNet05 ONNX float Qualcomm® QCS8450 0.877 ms 1 - 52 MB NPU
MNASNet05 ONNX float Qualcomm® Dragonwing™ IQ-9075 0.707 ms 1 - 3 MB NPU
MNASNet05 ONNX float Qualcomm® Dragonwing™ IQ-X7181 0.485 ms 5 - 5 MB NPU
MNASNet05 ONNX float Qualcomm® Dragonwing™ Q-8750 0.264 ms 0 - 32 MB NPU
MNASNet05 ONNX float Snapdragon® 8 Elite Mobile 0.264 ms 0 - 32 MB NPU
MNASNet05 ONNX float Snapdragon® 8 Elite Gen 5 Mobile 0.231 ms 0 - 28 MB NPU
MNASNet05 ONNX w8a16 Snapdragon® X2 Elite 0.217 ms 1 - 1 MB NPU
MNASNet05 ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 0.342 ms 0 - 44 MB NPU
MNASNet05 ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 0.669 ms 0 - 48 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 2.173 ms 0 - 3 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 0.594 ms 0 - 4 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 0.513 ms 0 - 5 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® QCS8450 0.669 ms 0 - 48 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 0.653 ms 0 - 3 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 2.24 ms 0 - 145 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 0.534 ms 0 - 31 MB NPU
MNASNet05 ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 0.26 ms 0 - 36 MB NPU
MNASNet05 ONNX w8a16 Snapdragon® 8 Elite Mobile 0.26 ms 0 - 36 MB NPU
MNASNet05 ONNX w8a16 Snapdragon® 8 Elite Gen 5 Mobile 0.221 ms 0 - 33 MB NPU
MNASNet05 ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 0.534 ms 0 - 31 MB NPU
MNASNet05 QNN_DLC float Snapdragon® X2 Elite 0.411 ms 1 - 1 MB NPU
MNASNet05 QNN_DLC float Snapdragon® X Elite 0.932 ms 1 - 1 MB NPU
MNASNet05 QNN_DLC float Snapdragon® 8 Gen 3 Mobile 0.515 ms 0 - 44 MB NPU
MNASNet05 QNN_DLC float Snapdragon® 8 Gen 1 Mobile 1.557 ms 0 - 51 MB NPU
MNASNet05 QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 0.914 ms 1 - 4 MB NPU
MNASNet05 QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 2.318 ms 1 - 27 MB NPU
MNASNet05 QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 0.788 ms 1 - 2 MB NPU
MNASNet05 QNN_DLC float Qualcomm® SA8775P 1.103 ms 1 - 30 MB NPU
MNASNet05 QNN_DLC float Qualcomm® SA8650P 1.103 ms 1 - 30 MB NPU
MNASNet05 QNN_DLC float Qualcomm® SA8255P 1.103 ms 1 - 30 MB NPU
MNASNet05 QNN_DLC float Qualcomm® QCS8450 1.557 ms 0 - 51 MB NPU
MNASNet05 QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 1.151 ms 1 - 3 MB NPU
MNASNet05 QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 0.932 ms 1 - 1 MB NPU
MNASNet05 QNN_DLC float Qualcomm® Dragonwing™ Q-8750 0.386 ms 1 - 28 MB NPU
MNASNet05 QNN_DLC float Qualcomm® SA7255P 2.318 ms 1 - 27 MB NPU
MNASNet05 QNN_DLC float Qualcomm® SA8295P 1.434 ms 0 - 28 MB NPU
MNASNet05 QNN_DLC float Snapdragon® 8 Elite Mobile 0.386 ms 1 - 28 MB NPU
MNASNet05 QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 0.294 ms 0 - 29 MB NPU
MNASNet05 QNN_DLC w8a16 Snapdragon® X2 Elite 0.404 ms 0 - 0 MB NPU
MNASNet05 QNN_DLC w8a16 Snapdragon® X Elite 0.905 ms 0 - 0 MB NPU
MNASNet05 QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 0.527 ms 0 - 38 MB NPU
MNASNet05 QNN_DLC w8a16 Snapdragon® 8 Gen 1 Mobile 0.957 ms 0 - 44 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS6490 2.715 ms 2 - 4 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 0.768 ms 0 - 3 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 1.636 ms 0 - 28 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 0.768 ms 0 - 2 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® SA8775P 0.955 ms 0 - 30 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® SA8650P 0.955 ms 0 - 30 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® SA8255P 0.955 ms 0 - 30 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® QCS8450 0.957 ms 0 - 44 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 0.855 ms 2 - 4 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 0.905 ms 0 - 0 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 3.051 ms 0 - 140 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 0.789 ms 0 - 26 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 0.353 ms 0 - 27 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® SA7255P 1.636 ms 0 - 28 MB NPU
MNASNet05 QNN_DLC w8a16 Qualcomm® SA8295P 1.22 ms 0 - 25 MB NPU
MNASNet05 QNN_DLC w8a16 Snapdragon® 8 Elite Mobile 0.353 ms 0 - 27 MB NPU
MNASNet05 QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 0.304 ms 0 - 28 MB NPU
MNASNet05 QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 0.789 ms 0 - 26 MB NPU
MNASNet05 TFLITE float Snapdragon® 8 Gen 3 Mobile 0.522 ms 0 - 46 MB NPU
MNASNet05 TFLITE float Snapdragon® 8 Gen 1 Mobile 1.577 ms 0 - 51 MB NPU
MNASNet05 TFLITE float Qualcomm® Dragonwing™ IQ-8275 0.921 ms 0 - 9 MB NPU
MNASNet05 TFLITE float Qualcomm® Dragonwing™ IQ-8275 2.349 ms 0 - 28 MB NPU
MNASNet05 TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 0.794 ms 0 - 9 MB NPU
MNASNet05 TFLITE float Qualcomm® SA8775P 1.109 ms 0 - 31 MB NPU
MNASNet05 TFLITE float Qualcomm® SA8650P 1.109 ms 0 - 31 MB NPU
MNASNet05 TFLITE float Qualcomm® SA8255P 1.109 ms 0 - 31 MB NPU
MNASNet05 TFLITE float Qualcomm® QCS8450 1.577 ms 0 - 51 MB NPU
MNASNet05 TFLITE float Qualcomm® Dragonwing™ IQ-9075 1.015 ms 0 - 8 MB NPU
MNASNet05 TFLITE float Qualcomm® Dragonwing™ Q-8750 0.38 ms 0 - 33 MB NPU
MNASNet05 TFLITE float Qualcomm® SA7255P 2.349 ms 0 - 28 MB NPU
MNASNet05 TFLITE float Qualcomm® SA8295P 1.452 ms 0 - 28 MB NPU
MNASNet05 TFLITE float Snapdragon® 8 Elite Mobile 0.38 ms 0 - 33 MB NPU
MNASNet05 TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 0.296 ms 0 - 30 MB NPU

License

  • The license for the original implementation of MNASNet05 can be found here.

References

Community