qaihm-bot commited on
Commit
4e3112b
·
verified ·
1 Parent(s): 8adea0a

See https://github.com/qualcomm/ai-hub-models/releases/v0.58.0 for changelog.

Files changed (2) hide show
  1. README.md +49 -43
  2. 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.57.3/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,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.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.57.3/swinv2_base-qnn_dlc-float.zip)
33
- | QNN_DLC | w8a16 | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.57.3/swinv2_base-qnn_dlc-w8a16.zip)
34
- | TFLITE | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.57.3/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.57.3/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.57.3/src/qai_hub_models/models/swinv2_base) for usage instructions.
49
 
50
  ## Model Details
51
 
@@ -61,45 +61,51 @@ 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® X2 Elite | 12.465 ms | 1 - 1 MB | NPU
65
- | SwinV2-Base | QNN_DLC | float | Snapdragon® X Elite | 28.983 ms | 1 - 1 MB | NPU
66
- | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 19.684 ms | 0 - 545 MB | NPU
67
- | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 41.312 ms | 1 - 534 MB | NPU
68
- | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8275 | 74.166 ms | 1 - 395 MB | NPU
69
- | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 28.015 ms | 1 - 300 MB | NPU
70
- | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8450 | 41.312 ms | 1 - 534 MB | NPU
71
- | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 14.731 ms | 1 - 391 MB | NPU
72
- | SwinV2-Base | QNN_DLC | float | Qualcomm® SA8295P | 37.74 ms | 1 - 378 MB | NPU
73
- | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 11.56 ms | 0 - 427 MB | NPU
74
- | SwinV2-Base | QNN_DLC | float | Qualcomm® SA7255P | 74.166 ms | 1 - 395 MB | NPU
75
- | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS9075 | 36.282 ms | 1 - 3 MB | NPU
76
- | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8750 | 14.731 ms | 1 - 391 MB | NPU
77
- | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS7181 | 28.983 ms | 1 - 1 MB | NPU
78
- | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 12.196 ms | 0 - 0 MB | NPU
79
- | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X Elite | 30.76 ms | 0 - 0 MB | NPU
80
- | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 19.664 ms | 0 - 2038 MB | NPU
 
 
 
81
  | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® QCS8275 | 52.728 ms | 0 - 488 MB | NPU
82
- | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 29.221 ms | 0 - 234 MB | NPU
83
- | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 33.941 ms | 2 - 4 MB | NPU
84
- | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 11.393 ms | 0 - 951 MB | NPU
85
- | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Mobile | 14.685 ms | 0 - 904 MB | NPU
 
 
 
 
 
86
  | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA7255P | 52.728 ms | 0 - 488 MB | NPU
87
- | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® QCS8750 | 14.685 ms | 0 - 904 MB | NPU
88
- | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® QCS7181 | 30.76 ms | 0 - 0 MB | NPU
89
- | SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 20.144 ms | 0 - 2188 MB | NPU
90
- | SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 42.813 ms | 0 - 676 MB | NPU
91
- | SwinV2-Base | TFLITE | float | Qualcomm® QCS8275 | 71.114 ms | 0 - 884 MB | NPU
92
- | SwinV2-Base | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 29.364 ms | 0 - 3 MB | NPU
93
- | SwinV2-Base | TFLITE | float | Qualcomm® SA8775P | 267.249 ms | 3 - 26 MB | CPU
94
- | SwinV2-Base | TFLITE | float | Qualcomm® SA8650P | 267.249 ms | 3 - 26 MB | CPU
95
- | SwinV2-Base | TFLITE | float | Qualcomm® SA8255P | 267.249 ms | 3 - 26 MB | CPU
96
- | SwinV2-Base | TFLITE | float | Qualcomm® QCS8450 | 42.813 ms | 0 - 676 MB | NPU
97
- | SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Mobile | 14.965 ms | 0 - 902 MB | NPU
98
- | SwinV2-Base | TFLITE | float | Qualcomm® SA8295P | 40.603 ms | 0 - 875 MB | NPU
99
- | SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 11.37 ms | 0 - 939 MB | NPU
100
- | SwinV2-Base | TFLITE | float | Qualcomm® SA7255P | 71.114 ms | 0 - 884 MB | NPU
101
- | SwinV2-Base | TFLITE | float | Qualcomm® QCS9075 | 36.727 ms | 0 - 180 MB | NPU
102
- | SwinV2-Base | TFLITE | float | Qualcomm® QCS8750 | 14.965 ms | 0 - 902 MB | NPU
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.58.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.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.58.0/swinv2_base-qnn_dlc-float.zip)
33
+ | QNN_DLC | w8a16 | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.58.0/swinv2_base-qnn_dlc-w8a16.zip)
34
+ | TFLITE | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.58.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.58.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.58.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® X2 Elite | 12.523 ms | 1 - 1 MB | NPU
65
+ | SwinV2-Base | QNN_DLC | float | Snapdragon® X Elite | 29.061 ms | 1 - 1 MB | NPU
66
+ | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 19.627 ms | 0 - 546 MB | NPU
67
+ | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 41.318 ms | 0 - 532 MB | NPU
68
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8275 | 74.082 ms | 1 - 395 MB | NPU
69
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 27.654 ms | 1 - 3 MB | NPU
70
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® SA8775P | 31.5 ms | 1 - 389 MB | NPU
71
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® SA8650P | 31.5 ms | 1 - 389 MB | NPU
72
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® SA8255P | 31.5 ms | 1 - 389 MB | NPU
73
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® QCS8450 | 41.318 ms | 0 - 532 MB | NPU
74
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 40.556 ms | 1 - 3 MB | NPU
75
+ | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 11.589 ms | 0 - 427 MB | NPU
76
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® SA7255P | 74.082 ms | 1 - 395 MB | NPU
77
+ | SwinV2-Base | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 14.701 ms | 1 - 391 MB | NPU
78
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® SA8295P | 37.786 ms | 1 - 378 MB | NPU
79
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 14.701 ms | 1 - 391 MB | NPU
80
+ | SwinV2-Base | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 29.061 ms | 1 - 1 MB | NPU
81
+ | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 12.192 ms | 0 - 0 MB | NPU
82
+ | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® X Elite | 30.786 ms | 0 - 0 MB | NPU
83
+ | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 19.774 ms | 0 - 2034 MB | NPU
84
  | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® QCS8275 | 52.728 ms | 0 - 488 MB | NPU
85
+ | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.399 ms | 0 - 315 MB | NPU
86
+ | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8775P | 29.961 ms | 0 - 870 MB | NPU
87
+ | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8650P | 29.961 ms | 0 - 870 MB | NPU
88
+ | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA8255P | 29.961 ms | 0 - 870 MB | NPU
89
+ | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 29.777 ms | 2 - 4 MB | NPU
90
+ | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 11.419 ms | 0 - 953 MB | NPU
91
+ | SwinV2-Base | QNN_DLC | w8a16 | Snapdragon® 8 Elite Mobile | 14.738 ms | 0 - 903 MB | NPU
92
+ | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 14.738 ms | 0 - 903 MB | NPU
93
+ | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 30.786 ms | 0 - 0 MB | NPU
94
  | SwinV2-Base | QNN_DLC | w8a16 | Qualcomm® SA7255P | 52.728 ms | 0 - 488 MB | NPU
95
+ | SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 20.078 ms | 0 - 2184 MB | NPU
96
+ | SwinV2-Base | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 42.887 ms | 0 - 676 MB | NPU
97
+ | SwinV2-Base | TFLITE | float | Qualcomm® QCS8275 | 71.075 ms | 0 - 885 MB | NPU
98
+ | SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 29.239 ms | 0 - 4 MB | NPU
99
+ | SwinV2-Base | TFLITE | float | Qualcomm® SA8775P | 32.512 ms | 0 - 879 MB | NPU
100
+ | SwinV2-Base | TFLITE | float | Qualcomm® SA8650P | 32.512 ms | 0 - 879 MB | NPU
101
+ | SwinV2-Base | TFLITE | float | Qualcomm® SA8255P | 32.512 ms | 0 - 879 MB | NPU
102
+ | SwinV2-Base | TFLITE | float | Qualcomm® QCS8450 | 42.887 ms | 0 - 676 MB | NPU
103
+ | SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 32.995 ms | 0 - 181 MB | NPU
104
+ | SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 11.417 ms | 0 - 940 MB | NPU
105
+ | SwinV2-Base | TFLITE | float | Qualcomm® SA7255P | 71.075 ms | 0 - 885 MB | NPU
106
+ | SwinV2-Base | TFLITE | float | Snapdragon® 8 Elite Mobile | 14.911 ms | 0 - 901 MB | NPU
107
+ | SwinV2-Base | TFLITE | float | Qualcomm® SA8295P | 40.566 ms | 0 - 875 MB | NPU
108
+ | SwinV2-Base | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 14.911 ms | 0 - 901 MB | NPU
 
 
109
 
110
  ## License
111
  * The license for the original implementation of SwinV2-Base can be found
release_assets.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "version": "0.57.3",
3
  "precisions": {
4
  "w8a16": {
5
  "universal_assets": {
@@ -7,7 +7,7 @@
7
  "tool_versions": {
8
  "qairt": "2.45.0.260326154327"
9
  },
10
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.57.3/swinv2_base-qnn_dlc-w8a16.zip"
11
  }
12
  }
13
  },
@@ -18,13 +18,13 @@
18
  "qairt": "2.45.0.260326154327",
19
  "litert": "1.4.4"
20
  },
21
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.57.3/swinv2_base-tflite-float.zip"
22
  },
23
  "qnn_dlc": {
24
  "tool_versions": {
25
  "qairt": "2.45.0.260326154327"
26
  },
27
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.57.3/swinv2_base-qnn_dlc-float.zip"
28
  }
29
  }
30
  }
 
1
  {
2
+ "version": "0.58.0",
3
  "precisions": {
4
  "w8a16": {
5
  "universal_assets": {
 
7
  "tool_versions": {
8
  "qairt": "2.45.0.260326154327"
9
  },
10
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.58.0/swinv2_base-qnn_dlc-w8a16.zip"
11
  }
12
  }
13
  },
 
18
  "qairt": "2.45.0.260326154327",
19
  "litert": "1.4.4"
20
  },
21
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.58.0/swinv2_base-tflite-float.zip"
22
  },
23
  "qnn_dlc": {
24
  "tool_versions": {
25
  "qairt": "2.45.0.260326154327"
26
  },
27
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/swinv2_base/releases/v0.58.0/swinv2_base-qnn_dlc-float.zip"
28
  }
29
  }
30
  }