v0.48.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.48.0 for changelog.
README.md
CHANGED
|
@@ -15,7 +15,7 @@ pipeline_tag: image-classification
|
|
| 15 |
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.
|
| 16 |
|
| 17 |
This is based on the implementation of Mobile-VIT found [here](https://github.com/apple/ml-cvnets).
|
| 18 |
-
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/
|
| 19 |
|
| 20 |
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.
|
| 21 |
|
|
@@ -28,25 +28,25 @@ Below are pre-exported model assets ready for deployment.
|
|
| 28 |
|
| 29 |
| Runtime | Precision | Chipset | SDK Versions | Download |
|
| 30 |
|---|---|---|---|---|
|
| 31 |
-
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.
|
| 32 |
-
| ONNX | w8a16 | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.
|
| 33 |
-
| QNN_DLC | float | Universal | QAIRT 2.43 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.
|
| 34 |
-
| QNN_DLC | w8a16 | Universal | QAIRT 2.43 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.
|
| 35 |
-
| TFLITE | float | Universal | QAIRT 2.43, TFLite 2.17.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.
|
| 36 |
|
| 37 |
For more device-specific assets and performance metrics, visit **[Mobile-VIT on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/mobile_vit)**.
|
| 38 |
|
| 39 |
|
| 40 |
### Option 2: Export with Custom Configurations
|
| 41 |
|
| 42 |
-
Use the [Qualcomm® AI Hub Models](https://github.com/
|
| 43 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 44 |
- Custom input shapes
|
| 45 |
- Target device and runtime configurations
|
| 46 |
|
| 47 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 48 |
|
| 49 |
-
See our repository for [Mobile-VIT on GitHub](https://github.com/
|
| 50 |
|
| 51 |
## Model Details
|
| 52 |
|
|
@@ -62,45 +62,45 @@ See our repository for [Mobile-VIT on GitHub](https://github.com/quic/ai-hub-mod
|
|
| 62 |
## Performance Summary
|
| 63 |
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 64 |
|---|---|---|---|---|---|---
|
| 65 |
-
| Mobile-VIT | ONNX | float | Snapdragon®
|
| 66 |
-
| Mobile-VIT | ONNX | float | Snapdragon®
|
| 67 |
-
| Mobile-VIT | ONNX | float |
|
| 68 |
-
| Mobile-VIT | ONNX | float | Qualcomm®
|
| 69 |
-
| Mobile-VIT | ONNX | float |
|
| 70 |
-
| Mobile-VIT | ONNX | float | Snapdragon® 8 Elite
|
| 71 |
-
| Mobile-VIT | ONNX | float | Snapdragon®
|
| 72 |
-
| Mobile-VIT | ONNX | w8a16 | Snapdragon®
|
| 73 |
-
| Mobile-VIT | ONNX | w8a16 | Snapdragon®
|
| 74 |
-
| Mobile-VIT | ONNX | w8a16 |
|
| 75 |
-
| Mobile-VIT | ONNX | w8a16 | Qualcomm®
|
| 76 |
-
| Mobile-VIT | ONNX | w8a16 | Qualcomm®
|
| 77 |
-
| Mobile-VIT | ONNX | w8a16 | Qualcomm®
|
| 78 |
-
| Mobile-VIT | ONNX | w8a16 |
|
| 79 |
-
| Mobile-VIT | ONNX | w8a16 | Snapdragon®
|
| 80 |
-
| Mobile-VIT | ONNX | w8a16 | Snapdragon®
|
| 81 |
-
| Mobile-VIT | ONNX | w8a16 | Snapdragon®
|
| 82 |
-
| Mobile-VIT | QNN_DLC | float | Snapdragon®
|
| 83 |
-
| Mobile-VIT | QNN_DLC | float | Snapdragon®
|
| 84 |
-
| Mobile-VIT | QNN_DLC | float |
|
| 85 |
-
| Mobile-VIT | QNN_DLC | float | Qualcomm®
|
| 86 |
-
| Mobile-VIT | QNN_DLC | float | Qualcomm®
|
| 87 |
-
| Mobile-VIT | QNN_DLC | float | Qualcomm®
|
| 88 |
-
| Mobile-VIT | QNN_DLC | float | Qualcomm®
|
| 89 |
-
| Mobile-VIT | QNN_DLC | float | Qualcomm®
|
| 90 |
-
| Mobile-VIT | QNN_DLC | float | Qualcomm®
|
| 91 |
-
| Mobile-VIT | QNN_DLC | float |
|
| 92 |
-
| Mobile-VIT | QNN_DLC | float | Snapdragon® 8 Elite
|
| 93 |
-
| Mobile-VIT | QNN_DLC | float | Snapdragon®
|
| 94 |
-
| Mobile-VIT | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 2.
|
| 95 |
-
| Mobile-VIT | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 10.
|
| 96 |
-
| Mobile-VIT | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 3.
|
| 97 |
| Mobile-VIT | TFLITE | float | Qualcomm® SA8775P | 4.517 ms | 0 - 83 MB | NPU
|
| 98 |
-
| Mobile-VIT | TFLITE | float | Qualcomm® QCS9075 | 4.
|
| 99 |
-
| Mobile-VIT | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 6.
|
| 100 |
-
| Mobile-VIT | TFLITE | float | Qualcomm® SA7255P | 10.
|
| 101 |
-
| Mobile-VIT | TFLITE | float | Qualcomm® SA8295P | 6.
|
| 102 |
-
| Mobile-VIT | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.
|
| 103 |
-
| Mobile-VIT | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.
|
| 104 |
|
| 105 |
## License
|
| 106 |
* The license for the original implementation of Mobile-VIT can be found
|
|
|
|
| 15 |
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.
|
| 16 |
|
| 17 |
This is based on the implementation of Mobile-VIT found [here](https://github.com/apple/ml-cvnets).
|
| 18 |
+
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/qai_hub_models/models/mobile_vit) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
|
| 19 |
|
| 20 |
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.
|
| 21 |
|
|
|
|
| 28 |
|
| 29 |
| Runtime | Precision | Chipset | SDK Versions | Download |
|
| 30 |
|---|---|---|---|---|
|
| 31 |
+
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.48.0/mobile_vit-onnx-float.zip)
|
| 32 |
+
| ONNX | w8a16 | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.48.0/mobile_vit-onnx-w8a16.zip)
|
| 33 |
+
| QNN_DLC | float | Universal | QAIRT 2.43 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.48.0/mobile_vit-qnn_dlc-float.zip)
|
| 34 |
+
| QNN_DLC | w8a16 | Universal | QAIRT 2.43 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.48.0/mobile_vit-qnn_dlc-w8a16.zip)
|
| 35 |
+
| TFLITE | float | Universal | QAIRT 2.43, TFLite 2.17.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/mobile_vit/releases/v0.48.0/mobile_vit-tflite-float.zip)
|
| 36 |
|
| 37 |
For more device-specific assets and performance metrics, visit **[Mobile-VIT on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/mobile_vit)**.
|
| 38 |
|
| 39 |
|
| 40 |
### Option 2: Export with Custom Configurations
|
| 41 |
|
| 42 |
+
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/main/qai_hub_models/models/mobile_vit) Python library to compile and export the model with your own:
|
| 43 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 44 |
- Custom input shapes
|
| 45 |
- Target device and runtime configurations
|
| 46 |
|
| 47 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 48 |
|
| 49 |
+
See our repository for [Mobile-VIT on GitHub](https://github.com/qualcomm/ai-hub-models/blob/main/qai_hub_models/models/mobile_vit) for usage instructions.
|
| 50 |
|
| 51 |
## Model Details
|
| 52 |
|
|
|
|
| 62 |
## Performance Summary
|
| 63 |
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 64 |
|---|---|---|---|---|---|---
|
| 65 |
+
| Mobile-VIT | ONNX | float | Snapdragon® X2 Elite | 1.89 ms | 12 - 12 MB | NPU
|
| 66 |
+
| Mobile-VIT | ONNX | float | Snapdragon® X Elite | 3.956 ms | 12 - 12 MB | NPU
|
| 67 |
+
| Mobile-VIT | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 2.523 ms | 0 - 110 MB | NPU
|
| 68 |
+
| Mobile-VIT | ONNX | float | Qualcomm® QCS8550 (Proxy) | 3.597 ms | 0 - 16 MB | NPU
|
| 69 |
+
| Mobile-VIT | ONNX | float | Qualcomm® QCS9075 | 4.693 ms | 1 - 4 MB | NPU
|
| 70 |
+
| Mobile-VIT | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.979 ms | 0 - 89 MB | NPU
|
| 71 |
+
| Mobile-VIT | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.668 ms | 0 - 102 MB | NPU
|
| 72 |
+
| Mobile-VIT | ONNX | w8a16 | Snapdragon® X2 Elite | 2.076 ms | 7 - 7 MB | NPU
|
| 73 |
+
| Mobile-VIT | ONNX | w8a16 | Snapdragon® X Elite | 5.091 ms | 8 - 8 MB | NPU
|
| 74 |
+
| Mobile-VIT | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 3.128 ms | 0 - 144 MB | NPU
|
| 75 |
+
| Mobile-VIT | ONNX | w8a16 | Qualcomm® QCS6490 | 325.906 ms | 65 - 69 MB | CPU
|
| 76 |
+
| Mobile-VIT | ONNX | w8a16 | Qualcomm® QCS8550 (Proxy) | 4.64 ms | 0 - 10 MB | NPU
|
| 77 |
+
| Mobile-VIT | ONNX | w8a16 | Qualcomm® QCS9075 | 5.094 ms | 0 - 3 MB | NPU
|
| 78 |
+
| Mobile-VIT | ONNX | w8a16 | Qualcomm® QCM6690 | 141.041 ms | 63 - 73 MB | CPU
|
| 79 |
+
| Mobile-VIT | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 2.336 ms | 0 - 80 MB | NPU
|
| 80 |
+
| Mobile-VIT | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 122.873 ms | 65 - 76 MB | CPU
|
| 81 |
+
| Mobile-VIT | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 1.918 ms | 0 - 115 MB | NPU
|
| 82 |
+
| Mobile-VIT | QNN_DLC | float | Snapdragon® X2 Elite | 2.125 ms | 1 - 1 MB | NPU
|
| 83 |
+
| Mobile-VIT | QNN_DLC | float | Snapdragon® X Elite | 3.851 ms | 1 - 1 MB | NPU
|
| 84 |
+
| Mobile-VIT | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 2.457 ms | 0 - 99 MB | NPU
|
| 85 |
+
| Mobile-VIT | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 9.916 ms | 1 - 68 MB | NPU
|
| 86 |
+
| Mobile-VIT | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 3.494 ms | 1 - 3 MB | NPU
|
| 87 |
+
| Mobile-VIT | QNN_DLC | float | Qualcomm® SA8775P | 4.271 ms | 1 - 70 MB | NPU
|
| 88 |
+
| Mobile-VIT | QNN_DLC | float | Qualcomm® QCS9075 | 4.485 ms | 3 - 5 MB | NPU
|
| 89 |
+
| Mobile-VIT | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 5.641 ms | 0 - 94 MB | NPU
|
| 90 |
+
| Mobile-VIT | QNN_DLC | float | Qualcomm® SA7255P | 9.916 ms | 1 - 68 MB | NPU
|
| 91 |
+
| Mobile-VIT | QNN_DLC | float | Qualcomm® SA8295P | 6.47 ms | 1 - 62 MB | NPU
|
| 92 |
+
| Mobile-VIT | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.925 ms | 0 - 73 MB | NPU
|
| 93 |
+
| Mobile-VIT | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.603 ms | 1 - 72 MB | NPU
|
| 94 |
+
| Mobile-VIT | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 2.586 ms | 0 - 108 MB | NPU
|
| 95 |
+
| Mobile-VIT | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 10.216 ms | 0 - 81 MB | NPU
|
| 96 |
+
| Mobile-VIT | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 3.672 ms | 0 - 13 MB | NPU
|
| 97 |
| Mobile-VIT | TFLITE | float | Qualcomm® SA8775P | 4.517 ms | 0 - 83 MB | NPU
|
| 98 |
+
| Mobile-VIT | TFLITE | float | Qualcomm® QCS9075 | 4.575 ms | 0 - 15 MB | NPU
|
| 99 |
+
| Mobile-VIT | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 6.002 ms | 0 - 93 MB | NPU
|
| 100 |
+
| Mobile-VIT | TFLITE | float | Qualcomm® SA7255P | 10.216 ms | 0 - 81 MB | NPU
|
| 101 |
+
| Mobile-VIT | TFLITE | float | Qualcomm® SA8295P | 6.691 ms | 0 - 69 MB | NPU
|
| 102 |
+
| Mobile-VIT | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.022 ms | 0 - 81 MB | NPU
|
| 103 |
+
| Mobile-VIT | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.654 ms | 0 - 86 MB | NPU
|
| 104 |
|
| 105 |
## License
|
| 106 |
* The license for the original implementation of Mobile-VIT can be found
|