Image Classification
PyTorch
backbone
android

Mobile-VIT: Optimized for Qualcomm Devices

MobileVit 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 Mobile-VIT 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 w8a16 Universal QAIRT 2.51, ONNX Runtime 1.30.0 Download
QNN_DLC float Universal QAIRT 2.51 Download
QNN_DLC w8a16 Universal QAIRT 2.51 Download
TFLITE float Universal QAIRT 2.51 Download

For more device-specific assets and performance metrics, visit Mobile-VIT 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 Mobile-VIT 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): 21.4 MB
  • Model size (w8a16): 6.56 MB
  • Number of parameters: 5.57M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
Mobile-VIT ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.872 ms 0 - 71 MB NPU
Mobile-VIT ONNX float Snapdragon® 8 Elite For Galaxy Mobile 2.247 ms 0 - 64 MB NPU
Mobile-VIT ONNX float Snapdragon® X2 Elite 2.067 ms 2 - 2 MB NPU
Mobile-VIT ONNX float Snapdragon® X Elite 4.11 ms 12 - 12 MB NPU
Mobile-VIT ONNX float Snapdragon® 8 Gen 3 Mobile 2.891 ms 0 - 96 MB NPU
Mobile-VIT ONNX float Snapdragon® 8 Gen 1 Mobile 6.177 ms 1 - 104 MB NPU
Mobile-VIT ONNX float Qualcomm® Dragonwing™ IQ-8275 4.186 ms 1 - 5 MB NPU
Mobile-VIT ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 3.94 ms 0 - 15 MB NPU
Mobile-VIT ONNX float Qualcomm® QCS8450 6.177 ms 1 - 104 MB NPU
Mobile-VIT ONNX float Qualcomm® Dragonwing™ IQ-9075 4.386 ms 1 - 4 MB NPU
Mobile-VIT ONNX float Qualcomm® Dragonwing™ IQ-X7181 4.11 ms 12 - 12 MB NPU
Mobile-VIT ONNX float Qualcomm® Dragonwing™ Q-8750 2.247 ms 0 - 64 MB NPU
Mobile-VIT ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 1.645 ms 1 - 66 MB NPU
Mobile-VIT ONNX float Snapdragon® 8 Elite Gen 6 Mobile 2.177 ms 1 - 66 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.675 ms 0 - 95 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 1.984 ms 0 - 90 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® X2 Elite 1.725 ms 1 - 1 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® X Elite 4.271 ms 6 - 6 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 2.783 ms 0 - 120 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 4.647 ms 0 - 121 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 10.227 ms 0 - 4 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 3.578 ms 0 - 5 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 4.124 ms 0 - 51 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® QCS8450 4.647 ms 0 - 121 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 4.206 ms 0 - 4 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 4.271 ms 6 - 6 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 17.662 ms 0 - 203 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 4.502 ms 0 - 203 MB NPU
Mobile-VIT ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 1.984 ms 0 - 90 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 4.502 ms 0 - 203 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 1.281 ms 0 - 90 MB NPU
Mobile-VIT ONNX w8a16 Snapdragon® 8 Elite Gen 6 Mobile 1.646 ms 0 - 88 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.829 ms 1 - 61 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 2.231 ms 0 - 59 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® X2 Elite 2.376 ms 1 - 1 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® X Elite 4.284 ms 1 - 1 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® 8 Gen 3 Mobile 2.802 ms 0 - 86 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® 8 Gen 1 Mobile 6.187 ms 0 - 96 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 4.135 ms 1 - 5 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 3.93 ms 1 - 3 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® SA8775P 4.72 ms 1 - 61 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® SA8650P 4.72 ms 1 - 61 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® SA8255P 4.72 ms 1 - 61 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® QCS8450 6.187 ms 0 - 96 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 4.356 ms 3 - 6 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 4.284 ms 1 - 1 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® Dragonwing™ Q-8750 2.231 ms 0 - 59 MB NPU
Mobile-VIT QNN_DLC float Qualcomm® SA8295P 6.944 ms 1 - 70 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 1.636 ms 0 - 60 MB NPU
Mobile-VIT QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 2.182 ms 1 - 60 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.723 ms 0 - 83 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 2.09 ms 0 - 80 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® X2 Elite 2.114 ms 0 - 0 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® X Elite 4.78 ms 0 - 0 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 2.907 ms 0 - 102 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 3.731 ms 0 - 3 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 4.37 ms 0 - 2 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® SA8775P 4.801 ms 0 - 77 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® SA8650P 4.801 ms 0 - 77 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® SA8255P 4.801 ms 0 - 77 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 4.475 ms 2 - 5 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 4.78 ms 0 - 0 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 17.503 ms 0 - 193 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 4.796 ms 0 - 188 MB NPU
Mobile-VIT QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 2.09 ms 0 - 80 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 4.796 ms 0 - 188 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 1.459 ms 0 - 77 MB NPU
Mobile-VIT QNN_DLC w8a16 Snapdragon® 8 Elite Gen 6 Mobile 2.01 ms 0 - 74 MB NPU
Mobile-VIT TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.852 ms 0 - 82 MB NPU
Mobile-VIT TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 2.234 ms 0 - 79 MB NPU
Mobile-VIT TFLITE float Snapdragon® 8 Gen 3 Mobile 2.815 ms 0 - 104 MB NPU
Mobile-VIT TFLITE float Snapdragon® 8 Gen 1 Mobile 6.186 ms 0 - 111 MB NPU
Mobile-VIT TFLITE float Qualcomm® Dragonwing™ IQ-8275 4.146 ms 0 - 17 MB NPU
Mobile-VIT TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 3.898 ms 0 - 3 MB NPU
Mobile-VIT TFLITE float Qualcomm® SA8775P 4.769 ms 0 - 74 MB NPU
Mobile-VIT TFLITE float Qualcomm® SA8650P 4.769 ms 0 - 74 MB NPU
Mobile-VIT TFLITE float Qualcomm® SA8255P 4.769 ms 0 - 74 MB NPU
Mobile-VIT TFLITE float Qualcomm® QCS8450 6.186 ms 0 - 111 MB NPU
Mobile-VIT TFLITE float Qualcomm® Dragonwing™ IQ-9075 4.356 ms 0 - 16 MB NPU
Mobile-VIT TFLITE float Qualcomm® Dragonwing™ Q-8750 2.234 ms 0 - 79 MB NPU
Mobile-VIT TFLITE float Qualcomm® SA7255P 59.139 ms 1 - 7 MB CPU
Mobile-VIT TFLITE float Qualcomm® SA8295P 6.978 ms 0 - 83 MB NPU
Mobile-VIT TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 1.629 ms 1 - 77 MB NPU
Mobile-VIT TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 2.191 ms 0 - 76 MB NPU

License

  • The license for the original implementation of Mobile-VIT can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/Mobile-VIT