v0.64.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.64.0 for changelog.
- README.md +41 -43
- release_assets.json +4 -4
README.md
CHANGED
|
@@ -16,7 +16,7 @@ pipeline_tag: image-classification
|
|
| 16 |
SwinV2Base 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.
|
| 17 |
|
| 18 |
This is based on the implementation of SwinV2-Base found [here](https://github.com/pytorch/vision/blob/main/torchvision/models/swin_transformer.py).
|
| 19 |
-
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/v0.
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
|
@@ -29,23 +29,23 @@ Below are pre-exported model assets ready for deployment.
|
|
| 29 |
|
| 30 |
| Runtime | Precision | Chipset | SDK Versions | Download |
|
| 31 |
|---|---|---|---|---|
|
| 32 |
-
| QNN_DLC | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.
|
| 33 |
-
| QNN_DLC | w8a16 | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.
|
| 34 |
-
| TFLITE | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.
|
| 35 |
|
| 36 |
For more device-specific assets and performance metrics, visit **[SwinV2-Base on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/swinv2_base)**.
|
| 37 |
|
| 38 |
|
| 39 |
### Option 2: Export with Custom Configurations
|
| 40 |
|
| 41 |
-
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.
|
| 42 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 43 |
- Custom input shapes
|
| 44 |
- Target device and runtime configurations
|
| 45 |
|
| 46 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 47 |
|
| 48 |
-
See our repository for [SwinV2-Base on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.
|
| 49 |
|
| 50 |
## Model Details
|
| 51 |
|
|
@@ -61,45 +61,43 @@ See our repository for [SwinV2-Base on GitHub](https://github.com/qualcomm/ai-hu
|
|
| 61 |
## Performance Summary
|
| 62 |
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 63 |
|---|---|---|---|---|---|---
|
| 64 |
-
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.
|
| 65 |
-
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 14.
|
| 66 |
-
| SwinV2-Base | QNN_DLC | float | Snapdragon® X2 Elite | 11.
|
| 67 |
-
| SwinV2-Base | QNN_DLC | float | Snapdragon® X Elite |
|
| 68 |
-
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 19.
|
| 69 |
-
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile |
|
| 70 |
-
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 |
|
| 71 |
-
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) |
|
| 72 |
-
| SwinV2-Base | QNN_DLC | float | Qualcomm®
|
| 73 |
-
| SwinV2-Base | QNN_DLC | float | Qualcomm®
|
| 74 |
-
| SwinV2-Base | QNN_DLC | float | Qualcomm®
|
| 75 |
-
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™
|
| 76 |
-
| SwinV2-Base | QNN_DLC | float | Qualcomm®
|
| 77 |
-
| SwinV2-Base | QNN_DLC |
|
| 78 |
-
| SwinV2-Base | QNN_DLC |
|
| 79 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon®
|
| 80 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon®
|
| 81 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon®
|
| 82 |
-
| SwinV2-Base | QNN_DLC | w8a16 |
|
| 83 |
-
| SwinV2-Base | QNN_DLC | w8a16 |
|
| 84 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 23.322 ms | 0 - 3 MB | NPU
|
| 85 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 25.824 ms | 0 - 3 MB | NPU
|
| 86 |
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8650P | 30.025 ms | 0 - 869 MB | NPU
|
| 87 |
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8255P | 30.025 ms | 0 - 869 MB | NPU
|
| 88 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 |
|
| 89 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 |
|
| 90 |
-
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 |
|
| 91 |
-
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.
|
| 92 |
-
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 14.
|
| 93 |
-
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 20.
|
| 94 |
-
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 1 Mobile |
|
| 95 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 29.
|
| 96 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.
|
| 97 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® SA8650P |
|
| 98 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® SA8255P |
|
| 99 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® QCS8450 |
|
| 100 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 |
|
| 101 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 14.
|
| 102 |
-
| SwinV2-Base | TFLITE | float | Qualcomm® SA8295P | 39.
|
| 103 |
|
| 104 |
## License
|
| 105 |
* The license for the original implementation of SwinV2-Base can be found
|
|
|
|
| 16 |
SwinV2Base 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.
|
| 17 |
|
| 18 |
This is based on the implementation of SwinV2-Base found [here](https://github.com/pytorch/vision/blob/main/torchvision/models/swin_transformer.py).
|
| 19 |
+
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/v0.64.0/src/qai_hub_models/models/swinv2_base) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
|
|
|
| 29 |
|
| 30 |
| Runtime | Precision | Chipset | SDK Versions | Download |
|
| 31 |
|---|---|---|---|---|
|
| 32 |
+
| QNN_DLC | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.64.0/swinv2_base-qnn_dlc-float.zip)
|
| 33 |
+
| QNN_DLC | w8a16 | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.64.0/swinv2_base-qnn_dlc-w8a16.zip)
|
| 34 |
+
| TFLITE | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.64.0/swinv2_base-tflite-float.zip)
|
| 35 |
|
| 36 |
For more device-specific assets and performance metrics, visit **[SwinV2-Base on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/swinv2_base)**.
|
| 37 |
|
| 38 |
|
| 39 |
### Option 2: Export with Custom Configurations
|
| 40 |
|
| 41 |
+
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.64.0/src/qai_hub_models/models/swinv2_base) Python library to compile and export the model with your own:
|
| 42 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 43 |
- Custom input shapes
|
| 44 |
- Target device and runtime configurations
|
| 45 |
|
| 46 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 47 |
|
| 48 |
+
See our repository for [SwinV2-Base on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.64.0/src/qai_hub_models/models/swinv2_base) for usage instructions.
|
| 49 |
|
| 50 |
## Model Details
|
| 51 |
|
|
|
|
| 61 |
## Performance Summary
|
| 62 |
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 63 |
|---|---|---|---|---|---|---
|
| 64 |
+
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.064 ms | 0 - 433 MB | NPU
|
| 65 |
+
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 14.905 ms | 0 - 408 MB | NPU
|
| 66 |
+
| SwinV2-Base | QNN_DLC | float | Snapdragon® X2 Elite | 11.673 ms | 1 - 1 MB | NPU
|
| 67 |
+
| SwinV2-Base | QNN_DLC | float | Snapdragon® X Elite | 30.282 ms | 1 - 1 MB | NPU
|
| 68 |
+
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 19.947 ms | 0 - 569 MB | NPU
|
| 69 |
+
| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 40.273 ms | 1 - 559 MB | NPU
|
| 70 |
+
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 30.139 ms | 1 - 4 MB | NPU
|
| 71 |
+
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 28.991 ms | 1 - 3 MB | NPU
|
| 72 |
+
| SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8450 | 40.273 ms | 1 - 559 MB | NPU
|
| 73 |
+
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 32.735 ms | 3 - 5 MB | NPU
|
| 74 |
+
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 30.282 ms | 1 - 1 MB | NPU
|
| 75 |
+
| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 14.905 ms | 0 - 408 MB | NPU
|
| 76 |
+
| SwinV2-Base | QNN_DLC | float | Qualcomm® SA8295P | 39.817 ms | 1 - 394 MB | NPU
|
| 77 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.005 ms | 0 - 533 MB | NPU
|
| 78 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 14.639 ms | 0 - 466 MB | NPU
|
| 79 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 11.494 ms | 0 - 0 MB | NPU
|
| 80 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X Elite | 30.909 ms | 1 - 1 MB | NPU
|
| 81 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 20.409 ms | 0 - 599 MB | NPU
|
| 82 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 26.381 ms | 0 - 3 MB | NPU
|
| 83 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.835 ms | 0 - 369 MB | NPU
|
|
|
|
|
|
|
| 84 |
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8650P | 30.025 ms | 0 - 869 MB | NPU
|
| 85 |
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8255P | 30.025 ms | 0 - 869 MB | NPU
|
| 86 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 29.898 ms | 0 - 3 MB | NPU
|
| 87 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 30.909 ms | 1 - 1 MB | NPU
|
| 88 |
+
| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 14.639 ms | 0 - 466 MB | NPU
|
| 89 |
+
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.217 ms | 0 - 523 MB | NPU
|
| 90 |
+
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 14.593 ms | 0 - 848 MB | NPU
|
| 91 |
+
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 20.199 ms | 0 - 583 MB | NPU
|
| 92 |
+
| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 39.985 ms | 0 - 608 MB | NPU
|
| 93 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 29.195 ms | 0 - 181 MB | NPU
|
| 94 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.365 ms | 0 - 4 MB | NPU
|
| 95 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® SA8650P | 272.16 ms | 3 - 27 MB | CPU
|
| 96 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® SA8255P | 272.16 ms | 3 - 27 MB | CPU
|
| 97 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® QCS8450 | 39.985 ms | 0 - 608 MB | NPU
|
| 98 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 31.782 ms | 0 - 181 MB | NPU
|
| 99 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 14.593 ms | 0 - 848 MB | NPU
|
| 100 |
+
| SwinV2-Base | TFLITE | float | Qualcomm® SA8295P | 39.054 ms | 0 - 414 MB | NPU
|
| 101 |
|
| 102 |
## License
|
| 103 |
* The license for the original implementation of SwinV2-Base can be found
|
release_assets.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"version": "0.
|
| 3 |
"precisions": {
|
| 4 |
"float": {
|
| 5 |
"universal_assets": {
|
|
@@ -7,13 +7,13 @@
|
|
| 7 |
"tool_versions": {
|
| 8 |
"qairt": "2.50.0.260828221209"
|
| 9 |
},
|
| 10 |
-
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.
|
| 11 |
},
|
| 12 |
"tflite": {
|
| 13 |
"tool_versions": {
|
| 14 |
"qairt": "2.50.0.260828221209"
|
| 15 |
},
|
| 16 |
-
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.
|
| 17 |
}
|
| 18 |
}
|
| 19 |
},
|
|
@@ -23,7 +23,7 @@
|
|
| 23 |
"tool_versions": {
|
| 24 |
"qairt": "2.50.0.260828221209"
|
| 25 |
},
|
| 26 |
-
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.
|
| 27 |
}
|
| 28 |
}
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"version": "0.64.0",
|
| 3 |
"precisions": {
|
| 4 |
"float": {
|
| 5 |
"universal_assets": {
|
|
|
|
| 7 |
"tool_versions": {
|
| 8 |
"qairt": "2.50.0.260828221209"
|
| 9 |
},
|
| 10 |
+
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.64.0/swinv2_base-qnn_dlc-float.zip"
|
| 11 |
},
|
| 12 |
"tflite": {
|
| 13 |
"tool_versions": {
|
| 14 |
"qairt": "2.50.0.260828221209"
|
| 15 |
},
|
| 16 |
+
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.64.0/swinv2_base-tflite-float.zip"
|
| 17 |
}
|
| 18 |
}
|
| 19 |
},
|
|
|
|
| 23 |
"tool_versions": {
|
| 24 |
"qairt": "2.50.0.260828221209"
|
| 25 |
},
|
| 26 |
+
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.64.0/swinv2_base-qnn_dlc-w8a16.zip"
|
| 27 |
}
|
| 28 |
}
|
| 29 |
}
|