library_name: pytorch
license: other
tags:
- bu_auto
- android
pipeline_tag: image-classification
InternImage: Optimized for Qualcomm Devices
InternImage employs DCNv3 as its core operator to equips the model with dynamic and effective receptive fields required for downstream tasks like object detection and segmentation, while enabling adaptive spatial aggregation.
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 |
|---|---|---|---|---|
| PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS8550 (Proxy) | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS9075 | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® X2 Elite | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® X Elite | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS6490 | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Elite Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCM6690 | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS9075 | QAIRT 2.45, ONNX Runtime 1.25.0 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® QCS8550 (Proxy) | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA8775P | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA7255P | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA8295P | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® QCS9075 | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Snapdragon® X2 Elite | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Snapdragon® X Elite | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS6490 | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS8550 (Proxy) | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Qualcomm® SA8775P | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Elite Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 7 Gen 4 Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Qualcomm® SA7255P | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Qualcomm® SA8295P | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCM6690 | QAIRT 2.45 | Download |
| QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS9075 | QAIRT 2.45 | Download |
For more device-specific assets and performance metrics, visit InternImage 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 InternImage on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_classification
Model Stats:
- Model checkpoint: internimage_t_1k_224
- Input resolution: 1x3x224x224
- Number of parameters: 30.6M
- Model size (float): 117 MB
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| InternImage | PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | 20.415 ms | 2 - 2 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | 51.87 ms | 72 - 72 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | 34.439 ms | 1 - 8 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 1 Mobile | 58.886 ms | 1 - 14 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS8550 (Proxy) | 49.486 ms | 0 - 81 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS8450 | 58.886 ms | 1 - 14 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 19.706 ms | 1 - 8 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS9075 | 51.051 ms | 0 - 4 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Mobile | 25.404 ms | 1 - 8 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS8750 | 25.404 ms | 1 - 8 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS7181 | 51.87 ms | 72 - 72 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® X2 Elite | 16.65 ms | 1 - 1 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® X Elite | 45.786 ms | 41 - 41 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 30.177 ms | 1 - 7 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 45.334 ms | 1 - 14 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS6490 | 81.21 ms | 0 - 3 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 43.573 ms | 0 - 41 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS8450 | 45.334 ms | 1 - 14 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCM6690 | 131.753 ms | 0 - 6 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS9075 | 44.734 ms | 0 - 3 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 16.23 ms | 0 - 8 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 21.216 ms | 0 - 12 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 43.229 ms | 0 - 6 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS7790 | 43.229 ms | 0 - 6 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS8750 | 21.216 ms | 0 - 12 MB | NPU |
| InternImage | PRECOMPILED_QNN_ONNX | w8a8 | Qualcomm® QCS7181 | 45.786 ms | 41 - 41 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | 20.716 ms | 1 - 1 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | 52.004 ms | 1 - 1 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | 34.39 ms | 1 - 8 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 1 Mobile | 58.598 ms | 0 - 9 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® QCS8275 | 94.634 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® QCS8550 (Proxy) | 49.448 ms | 1 - 2 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® SA8775P | 51.149 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® SA8650P | 51.149 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® SA8255P | 51.149 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® QCS8450 | 58.598 ms | 0 - 9 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 Mobile | 19.693 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® SA7255P | 94.634 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® QCS9075 | 51.216 ms | 1 - 3 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Mobile | 25.391 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® SA8295P | 57.236 ms | 1 - 6 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® QCS8750 | 25.391 ms | 1 - 10 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | float | Qualcomm® QCS7181 | 52.004 ms | 1 - 1 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Snapdragon® X2 Elite | 16.895 ms | 0 - 0 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Snapdragon® X Elite | 45.801 ms | 1 - 1 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Gen 3 Mobile | 30.116 ms | 0 - 7 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Gen 1 Mobile | 45.356 ms | 0 - 9 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS6490 | 81.171 ms | 0 - 2 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS8275 | 77.1 ms | 0 - 9 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS8550 (Proxy) | 43.666 ms | 0 - 2 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS8450 | 45.356 ms | 0 - 9 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCM6690 | 131.502 ms | 0 - 7 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS9075 | 44.623 ms | 0 - 2 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 16.306 ms | 0 - 8 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 8 Elite Mobile | 21.182 ms | 0 - 13 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® SA8295P | 47.715 ms | 0 - 6 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Snapdragon® 7 Gen 4 Mobile | 44.426 ms | 1 - 7 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® SA7255P | 77.1 ms | 0 - 9 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS7790 | 44.426 ms | 1 - 7 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS8750 | 21.182 ms | 0 - 13 MB | NPU |
| InternImage | QNN_CONTEXT_BINARY | w8a8 | Qualcomm® QCS7181 | 45.801 ms | 1 - 1 MB | NPU |
License
- The license for the original implementation of InternImage can be found here.
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.
