Image Classification
PyTorch
backbone
android
qaihm-bot commited on
Commit
07ab220
·
verified ·
1 Parent(s): 6b8dd1b

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

Files changed (2) hide show
  1. README.md +47 -49
  2. release_assets.json +7 -7
README.md CHANGED
@@ -15,7 +15,7 @@ pipeline_tag: image-classification
15
  RepViT is a lightweight pure CNN model for mobile devices, incorporating efficient architectural designs from Vision Transformers into CNNs. It achieves over 80% top-1 accuracy on ImageNet with 1ms latency on an iPhone 12.
16
 
17
  This is based on the implementation of RepViT found [here](https://github.com/THU-MIG/RepViT).
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/v0.62.2/src/qai_hub_models/models/repvit) 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,23 +28,23 @@ Below are pre-exported model assets ready for deployment.
28
 
29
  | Runtime | Precision | Chipset | SDK Versions | Download |
30
  |---|---|---|---|---|
31
- | ONNX | float | Universal | QAIRT 2.45, ONNX Runtime 1.27.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.62.2/repvit-onnx-float.zip)
32
- | QNN_DLC | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.62.2/repvit-qnn_dlc-float.zip)
33
- | TFLITE | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.62.2/repvit-tflite-float.zip)
34
 
35
  For more device-specific assets and performance metrics, visit **[RepViT on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/repvit)**.
36
 
37
 
38
  ### Option 2: Export with Custom Configurations
39
 
40
- Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.62.2/src/qai_hub_models/models/repvit) Python library to compile and export the model with your own:
41
  - Custom weights (e.g., fine-tuned checkpoints)
42
  - Custom input shapes
43
  - Target device and runtime configurations
44
 
45
  This option is ideal if you need to customize the model beyond the default configuration provided here.
46
 
47
- See our repository for [RepViT on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.62.2/src/qai_hub_models/models/repvit) for usage instructions.
48
 
49
  ## Model Details
50
 
@@ -59,49 +59,47 @@ See our repository for [RepViT on GitHub](https://github.com/qualcomm/ai-hub-mod
59
  ## Performance Summary
60
  | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
61
  |---|---|---|---|---|---|---
62
- | RepViT | ONNX | float | Snapdragon® X2 Elite | 1.699 ms | 2 - 2 MB | NPU
63
- | RepViT | ONNX | float | Snapdragon® X Elite | 3.324 ms | 47 - 47 MB | NPU
64
- | RepViT | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 2.384 ms | 0 - 196 MB | NPU
65
- | RepViT | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 11.538 ms | 1 - 193 MB | NPU
66
- | RepViT | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 4.633 ms | 0 - 4 MB | NPU
67
- | RepViT | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.184 ms | 0 - 49 MB | NPU
68
- | RepViT | ONNX | float | Qualcomm® QCS8450 | 11.538 ms | 1 - 193 MB | NPU
69
- | RepViT | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 4.327 ms | 0 - 4 MB | NPU
70
- | RepViT | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 3.324 ms | 47 - 47 MB | NPU
71
- | RepViT | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 1.796 ms | 0 - 112 MB | NPU
72
- | RepViT | ONNX | float | Snapdragon® 8 Elite Mobile | 1.796 ms | 0 - 112 MB | NPU
73
- | RepViT | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.452 ms | 0 - 114 MB | NPU
74
- | RepViT | QNN_DLC | float | Snapdragon® X2 Elite | 2.053 ms | 1 - 1 MB | NPU
75
- | RepViT | QNN_DLC | float | Snapdragon® X Elite | 3.895 ms | 1 - 1 MB | NPU
76
- | RepViT | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 2.567 ms | 0 - 179 MB | NPU
77
- | RepViT | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 12.253 ms | 0 - 177 MB | NPU
78
- | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 4.768 ms | 1 - 4 MB | NPU
79
- | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.505 ms | 1 - 166 MB | NPU
80
- | RepViT | QNN_DLC | float | Qualcomm® SA8775P | 4.848 ms | 1 - 103 MB | NPU
81
- | RepViT | QNN_DLC | float | Qualcomm® SA8650P | 4.848 ms | 1 - 103 MB | NPU
82
- | RepViT | QNN_DLC | float | Qualcomm® SA8255P | 4.848 ms | 1 - 103 MB | NPU
83
- | RepViT | QNN_DLC | float | Qualcomm® QCS8450 | 12.253 ms | 0 - 177 MB | NPU
84
- | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 4.579 ms | 1 - 3 MB | NPU
85
- | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 3.895 ms | 1 - 1 MB | NPU
86
- | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 1.903 ms | 1 - 103 MB | NPU
87
- | RepViT | QNN_DLC | float | Qualcomm® SA7255P | 14.438 ms | 1 - 102 MB | NPU
88
- | RepViT | QNN_DLC | float | Qualcomm® SA8295P | 9.646 ms | 1 - 106 MB | NPU
89
- | RepViT | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 1.903 ms | 1 - 103 MB | NPU
90
- | RepViT | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.504 ms | 1 - 104 MB | NPU
91
- | RepViT | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 2.556 ms | 0 - 231 MB | NPU
92
- | RepViT | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 12.274 ms | 0 - 226 MB | NPU
93
- | RepViT | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 4.766 ms | 0 - 51 MB | NPU
94
- | RepViT | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.47 ms | 0 - 2 MB | NPU
95
- | RepViT | TFLITE | float | Qualcomm® SA8775P | 4.869 ms | 0 - 164 MB | NPU
96
- | RepViT | TFLITE | float | Qualcomm® SA8650P | 4.869 ms | 0 - 164 MB | NPU
97
- | RepViT | TFLITE | float | Qualcomm® SA8255P | 4.869 ms | 0 - 164 MB | NPU
98
- | RepViT | TFLITE | float | Qualcomm® QCS8450 | 12.274 ms | 0 - 226 MB | NPU
99
- | RepViT | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 4.584 ms | 0 - 50 MB | NPU
100
- | RepViT | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 1.886 ms | 0 - 164 MB | NPU
101
- | RepViT | TFLITE | float | Qualcomm® SA7255P | 14.436 ms | 0 - 162 MB | NPU
102
- | RepViT | TFLITE | float | Qualcomm® SA8295P | 9.668 ms | 0 - 161 MB | NPU
103
- | RepViT | TFLITE | float | Snapdragon® 8 Elite Mobile | 1.886 ms | 0 - 164 MB | NPU
104
- | RepViT | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.514 ms | 0 - 166 MB | NPU
105
 
106
  ## License
107
  * The license for the original implementation of RepViT can be found
 
15
  RepViT is a lightweight pure CNN model for mobile devices, incorporating efficient architectural designs from Vision Transformers into CNNs. It achieves over 80% top-1 accuracy on ImageNet with 1ms latency on an iPhone 12.
16
 
17
  This is based on the implementation of RepViT found [here](https://github.com/THU-MIG/RepViT).
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/v0.63.0/src/qai_hub_models/models/repvit) 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.50, ONNX Runtime 1.27.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.63.0/repvit-onnx-float.zip)
32
+ | QNN_DLC | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.63.0/repvit-qnn_dlc-float.zip)
33
+ | TFLITE | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.63.0/repvit-tflite-float.zip)
34
 
35
  For more device-specific assets and performance metrics, visit **[RepViT on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/repvit)**.
36
 
37
 
38
  ### Option 2: Export with Custom Configurations
39
 
40
+ Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.63.0/src/qai_hub_models/models/repvit) Python library to compile and export the model with your own:
41
  - Custom weights (e.g., fine-tuned checkpoints)
42
  - Custom input shapes
43
  - Target device and runtime configurations
44
 
45
  This option is ideal if you need to customize the model beyond the default configuration provided here.
46
 
47
+ See our repository for [RepViT on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.63.0/src/qai_hub_models/models/repvit) for usage instructions.
48
 
49
  ## Model Details
50
 
 
59
  ## Performance Summary
60
  | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
61
  |---|---|---|---|---|---|---
62
+ | RepViT | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.43 ms | 0 - 114 MB | NPU
63
+ | RepViT | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.776 ms | 0 - 113 MB | NPU
64
+ | RepViT | ONNX | float | Snapdragon® X2 Elite | 1.697 ms | 2 - 2 MB | NPU
65
+ | RepViT | ONNX | float | Snapdragon® X Elite | 3.327 ms | 48 - 48 MB | NPU
66
+ | RepViT | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 2.356 ms | 0 - 194 MB | NPU
67
+ | RepViT | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 11.235 ms | 0 - 192 MB | NPU
68
+ | RepViT | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 4.608 ms | 0 - 5 MB | NPU
69
+ | RepViT | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.192 ms | 0 - 50 MB | NPU
70
+ | RepViT | ONNX | float | Qualcomm® QCS8450 | 11.235 ms | 0 - 192 MB | NPU
71
+ | RepViT | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 4.334 ms | 0 - 4 MB | NPU
72
+ | RepViT | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 3.327 ms | 48 - 48 MB | NPU
73
+ | RepViT | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 1.776 ms | 0 - 113 MB | NPU
74
+ | RepViT | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.519 ms | 1 - 106 MB | NPU
75
+ | RepViT | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.887 ms | 0 - 101 MB | NPU
76
+ | RepViT | QNN_DLC | float | Snapdragon® X2 Elite | 2.057 ms | 1 - 1 MB | NPU
77
+ | RepViT | QNN_DLC | float | Snapdragon® X Elite | 3.864 ms | 1 - 1 MB | NPU
78
+ | RepViT | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 2.529 ms | 1 - 182 MB | NPU
79
+ | RepViT | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 11.884 ms | 1 - 175 MB | NPU
80
+ | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 4.73 ms | 1 - 4 MB | NPU
81
+ | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.476 ms | 1 - 3 MB | NPU
82
+ | RepViT | QNN_DLC | float | Qualcomm® SA8775P | 4.728 ms | 1 - 103 MB | NPU
83
+ | RepViT | QNN_DLC | float | Qualcomm® SA8650P | 4.728 ms | 1 - 103 MB | NPU
84
+ | RepViT | QNN_DLC | float | Qualcomm® SA8255P | 4.728 ms | 1 - 103 MB | NPU
85
+ | RepViT | QNN_DLC | float | Qualcomm® QCS8450 | 11.884 ms | 1 - 175 MB | NPU
86
+ | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 4.556 ms | 3 - 5 MB | NPU
87
+ | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 3.864 ms | 1 - 1 MB | NPU
88
+ | RepViT | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 1.887 ms | 0 - 101 MB | NPU
89
+ | RepViT | QNN_DLC | float | Qualcomm® SA8295P | 9.508 ms | 1 - 103 MB | NPU
90
+ | RepViT | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.507 ms | 0 - 169 MB | NPU
91
+ | RepViT | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.876 ms | 0 - 161 MB | NPU
92
+ | RepViT | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 2.51 ms | 0 - 230 MB | NPU
93
+ | RepViT | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 11.937 ms | 0 - 224 MB | NPU
94
+ | RepViT | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 4.746 ms | 0 - 51 MB | NPU
95
+ | RepViT | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.429 ms | 0 - 3 MB | NPU
96
+ | RepViT | TFLITE | float | Qualcomm® SA8775P | 4.696 ms | 0 - 164 MB | NPU
97
+ | RepViT | TFLITE | float | Qualcomm® SA8650P | 4.696 ms | 0 - 164 MB | NPU
98
+ | RepViT | TFLITE | float | Qualcomm® SA8255P | 4.696 ms | 0 - 164 MB | NPU
99
+ | RepViT | TFLITE | float | Qualcomm® QCS8450 | 11.937 ms | 0 - 224 MB | NPU
100
+ | RepViT | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 4.571 ms | 0 - 51 MB | NPU
101
+ | RepViT | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 1.876 ms | 0 - 161 MB | NPU
102
+ | RepViT | TFLITE | float | Qualcomm® SA8295P | 9.497 ms | 0 - 159 MB | NPU
 
 
103
 
104
  ## License
105
  * The license for the original implementation of RepViT can be found
release_assets.json CHANGED
@@ -1,26 +1,26 @@
1
  {
2
- "version": "0.62.2",
3
  "precisions": {
4
  "float": {
5
  "universal_assets": {
6
  "onnx": {
7
  "tool_versions": {
8
- "qairt": "2.45.0.260326154327",
9
  "onnx_runtime": "1.27.1"
10
  },
11
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.62.2/repvit-onnx-float.zip"
12
  },
13
  "qnn_dlc": {
14
  "tool_versions": {
15
- "qairt": "2.45.0.260326154327"
16
  },
17
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.62.2/repvit-qnn_dlc-float.zip"
18
  },
19
  "tflite": {
20
  "tool_versions": {
21
- "qairt": "2.45.0.260326154327"
22
  },
23
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.62.2/repvit-tflite-float.zip"
24
  }
25
  }
26
  }
 
1
  {
2
+ "version": "0.63.0",
3
  "precisions": {
4
  "float": {
5
  "universal_assets": {
6
  "onnx": {
7
  "tool_versions": {
8
+ "qairt": "2.50.0.260828221209",
9
  "onnx_runtime": "1.27.1"
10
  },
11
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.63.0/repvit-onnx-float.zip"
12
  },
13
  "qnn_dlc": {
14
  "tool_versions": {
15
+ "qairt": "2.50.0.260828221209"
16
  },
17
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.63.0/repvit-qnn_dlc-float.zip"
18
  },
19
  "tflite": {
20
  "tool_versions": {
21
+ "qairt": "2.50.0.260828221209"
22
  },
23
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/repvit/releases/v0.63.0/repvit-tflite-float.zip"
24
  }
25
  }
26
  }