v0.67.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.67.0 for changelog.
Files changed (2)
- README.md+42-36
- release_assets.json+8-7
15 unmodified lines161718192021226 unmodified lines29303132333435363738394041424344454647484950519 unmodified lines61626364656667686970717273747576777879808182838485868788899091929394959697989910010110210315 unmodified linesSwinV2Base 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 SwinV2-Base found [here](https://github.com/pytorch/vision/blob/main/torchvision/models/swin_transformer.py).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.66.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).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.6 unmodified lines| Runtime | Precision | Chipset | SDK Versions | Download ||---|---|---|---|---|| 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.66.0/swinv2_base-qnn_dlc-float.zip)| 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.66.0/swinv2_base-qnn_dlc-w8a16.zip)| 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.66.0/swinv2_base-tflite-float.zip)For more device-specific assets and performance metrics, visit **[SwinV2-Base on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/swinv2_base)**.### Option 2: Export with Custom ConfigurationsUse the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/swinv2_base) 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 configurationsThis option is ideal if you need to customize the model beyond the default configuration provided here.See our repository for [SwinV2-Base on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/swinv2_base) for usage instructions.## Model Details9 unmodified lines## Performance Summary| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit|---|---|---|---|---|---|---| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.064 ms | 0 - 433 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 14.905 ms | 0 - 408 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® X2 Elite | 11.673 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® X Elite | 30.282 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 19.947 ms | 0 - 569 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 40.273 ms | 1 - 559 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 30.139 ms | 1 - 4 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 28.991 ms | 1 - 3 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8450 | 40.273 ms | 1 - 559 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 32.735 ms | 3 - 5 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 30.282 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 14.905 ms | 0 - 408 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® SA8295P | 39.817 ms | 1 - 394 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.005 ms | 0 - 533 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 14.639 ms | 0 - 466 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 11.494 ms | 0 - 0 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X Elite | 30.909 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 20.409 ms | 0 - 599 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 26.381 ms | 0 - 3 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.835 ms | 0 - 369 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8650P | 30.025 ms | 0 - 869 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8255P | 30.025 ms | 0 - 869 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 29.898 ms | 0 - 3 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 30.909 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 14.639 ms | 0 - 466 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.217 ms | 0 - 523 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 14.593 ms | 0 - 848 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 20.199 ms | 0 - 583 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 39.985 ms | 0 - 608 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 29.195 ms | 0 - 181 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.365 ms | 0 - 4 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® SA8650P | 272.16 ms | 3 - 27 MB | CPU| SwinV2-Base | TFLITE | float | Qualcomm® SA8255P | 272.16 ms | 3 - 27 MB | CPU| SwinV2-Base | TFLITE | float | Qualcomm® QCS8450 | 39.985 ms | 0 - 608 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 31.782 ms | 0 - 181 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 14.593 ms | 0 - 848 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® SA8295P | 39.054 ms | 0 - 414 MB | NPU## License* The license for the original implementation of SwinV2-Base can be found15 unmodified lines161718192021226 unmodified lines29303132333435363738394041424344454647484950519 unmodified lines61626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810915 unmodified linesSwinV2Base 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 SwinV2-Base found [here](https://github.com/pytorch/vision/blob/main/torchvision/models/swin_transformer.py).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.67.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).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.6 unmodified lines| Runtime | Precision | Chipset | SDK Versions | Download ||---|---|---|---|---|| QNN_DLC | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.67.0/swinv2_base-qnn_dlc-float.zip)| QNN_DLC | w8a16 | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.67.0/swinv2_base-qnn_dlc-w8a16.zip)| TFLITE | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.67.0/swinv2_base-tflite-float.zip)For more device-specific assets and performance metrics, visit **[SwinV2-Base on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/swinv2_base)**.### Option 2: Export with Custom ConfigurationsUse the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/swinv2_base) 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 configurationsThis option is ideal if you need to customize the model beyond the default configuration provided here.See our repository for [SwinV2-Base on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/swinv2_base) for usage instructions.## Model Details9 unmodified lines## Performance Summary| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit|---|---|---|---|---|---|---| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 10.842 ms | 0 - 451 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 14.35 ms | 1 - 429 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® X2 Elite | 11.284 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® X Elite | 29.56 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 19.947 ms | 0 - 569 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 39.09 ms | 0 - 584 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 29.724 ms | 1 - 4 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 28.888 ms | 1 - 451 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8450 | 39.09 ms | 0 - 584 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 32.548 ms | 1 - 4 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 29.56 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 14.35 ms | 1 - 429 MB | NPU| SwinV2-Base | QNN_DLC | float | Qualcomm® SA8295P | 39.055 ms | 1 - 413 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 9.551 ms | 1 - 433 MB | NPU| SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 14.611 ms | 0 - 428 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 10.137 ms | 0 - 482 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 13.598 ms | 0 - 458 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 10.642 ms | 0 - 0 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X Elite | 28.715 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 20.409 ms | 0 - 599 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 24.363 ms | 0 - 4 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 27.658 ms | 0 - 2 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8650P | 30.025 ms | 0 - 869 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8255P | 30.025 ms | 0 - 869 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 28.277 ms | 0 - 3 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 28.715 ms | 1 - 1 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 13.598 ms | 0 - 458 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 8.641 ms | 0 - 467 MB | NPU| SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 13.845 ms | 0 - 461 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.15 ms | 0 - 443 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 15.076 ms | 0 - 422 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 20.199 ms | 0 - 583 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 40.756 ms | 0 - 567 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 29.682 ms | 0 - 181 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.25 ms | 0 - 4 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® SA8650P | 272.16 ms | 3 - 27 MB | CPU| SwinV2-Base | TFLITE | float | Qualcomm® SA8255P | 272.16 ms | 3 - 27 MB | CPU| SwinV2-Base | TFLITE | float | Qualcomm® QCS8450 | 40.756 ms | 0 - 567 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 32.246 ms | 0 - 181 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 15.076 ms | 0 - 422 MB | NPU| SwinV2-Base | TFLITE | float | Qualcomm® SA8295P | 39.157 ms | 0 - 404 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 9.962 ms | 0 - 415 MB | NPU| SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 15.227 ms | 0 - 420 MB | NPU## License* The license for the original implementation of SwinV2-Base can be found
123456789101112131415161718191 unmodified line212223242526272829{"version": "0.66.0","precisions": {"float": {"universal_assets": {"qnn_dlc": {"tool_versions": {"qairt": "2.50.0.260828221209"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.66.0/swinv2_base-qnn_dlc-float.zip"},"tflite": {"tool_versions": {"qairt": "2.50.0.260828221209"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.66.0/swinv2_base-tflite-float.zip"}}},1 unmodified line"universal_assets": {"qnn_dlc": {"tool_versions": {"qairt": "2.50.0.260828221209"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.66.0/swinv2_base-qnn_dlc-w8a16.zip"}}}12345678910111213141516171819201 unmodified line222324252627282930{"version": "0.67.0","precisions": {"float": {"universal_assets": {"qnn_dlc": {"tool_versions": {"qairt": "2.51.0.260929181845"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.67.0/swinv2_base-qnn_dlc-float.zip"},"tflite": {"tool_versions": {"qairt": "2.51.0.260929181845","litert": "1.4.2"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.67.0/swinv2_base-tflite-float.zip"}}},1 unmodified line"universal_assets": {"qnn_dlc": {"tool_versions": {"qairt": "2.51.0.260929181845"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.67.0/swinv2_base-qnn_dlc-w8a16.zip"}}}
README.md+42-36
release_assets.json+8-7