Image Segmentation
PyTorch
foundation
android
qaihm-bot commited on
Commit
8d4f886
·
verified ·
1 Parent(s): caf0c1a

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

Files changed (2) hide show
  1. README.md +153 -148
  2. release_assets.json +11 -5
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  library_name: pytorch
3
- license: other
4
  tags:
5
  - foundation
6
  - android
@@ -15,7 +15,7 @@ pipeline_tag: image-segmentation
15
  SAM 2, the successor to Meta's Segment Anything Model (SAM), is a cutting-edge tool designed for comprehensive object segmentation in both images and videos. It excels in handling complex visual data through a unified, promptable model architecture that supports real-time processing and zero-shot generalization.
16
 
17
  This is based on the implementation of Segment-Anything-Model-2 found [here](https://github.com/facebookresearch/sam2).
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.60.0/src/qai_hub_models/models/sam2) 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,24 +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.45, ONNX Runtime 1.27.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.60.0/sam2-onnx-float.zip)
32
- | ONNX | w8a8 | Universal | QAIRT 2.45, ONNX Runtime 1.27.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.60.0/sam2-onnx-w8a8.zip)
33
- | QNN_DLC | w8a8 | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.60.0/sam2-qnn_dlc-w8a8.zip)
34
- | TFLITE | w8a8 | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.60.0/sam2-tflite-w8a8.zip)
 
35
 
36
  For more device-specific assets and performance metrics, visit **[Segment-Anything-Model-2 on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/sam2)**.
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.60.0/src/qai_hub_models/models/sam2) 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 [Segment-Anything-Model-2 on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.60.0/src/qai_hub_models/models/sam2) for usage instructions.
49
 
50
  ## Model Details
51
 
@@ -62,146 +63,150 @@ See our repository for [Segment-Anything-Model-2 on GitHub](https://github.com/q
62
  ## Performance Summary
63
  | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
64
  |---|---|---|---|---|---|---
65
- | decoder | ONNX | float | Snapdragon® X2 Elite | 3.298 ms | 16 - 16 MB | NPU
66
- | decoder | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 3.765 ms | 3 - 224 MB | NPU
67
- | decoder | ONNX | float | Snapdragon® 8 Elite Mobile | 3.765 ms | 3 - 224 MB | NPU
68
- | decoder | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 3.179 ms | 3 - 227 MB | NPU
69
- | decoder | ONNX | w8a8 | Snapdragon® X2 Elite | 1.336 ms | 4 - 4 MB | NPU
70
- | decoder | ONNX | w8a8 | Snapdragon® X Elite | 2.791 ms | 4 - 4 MB | NPU
71
- | decoder | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.776 ms | 4 - 151 MB | NPU
72
- | decoder | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 3.49 ms | 4 - 161 MB | NPU
73
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 12.779 ms | 4 - 7 MB | NPU
74
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 2.856 ms | 4 - 8 MB | NPU
75
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 2.653 ms | 2 - 81 MB | NPU
76
- | decoder | ONNX | w8a8 | Qualcomm® QCS8450 | 3.49 ms | 4 - 161 MB | NPU
77
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 3.172 ms | 4 - 7 MB | NPU
78
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 2.791 ms | 4 - 4 MB | NPU
79
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 17.309 ms | 2 - 249 MB | NPU
80
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 3.397 ms | 4 - 305 MB | NPU
81
- | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.438 ms | 0 - 129 MB | NPU
82
- | decoder | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 1.438 ms | 0 - 129 MB | NPU
83
- | decoder | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.248 ms | 0 - 151 MB | NPU
84
- | decoder | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 3.397 ms | 4 - 305 MB | NPU
85
- | decoder | QNN_DLC | float | Snapdragon® X2 Elite | 3.074 ms | 16 - 16 MB | NPU
86
- | decoder | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 10.052 ms | 4 - 217 MB | NPU
87
- | decoder | QNN_DLC | float | Qualcomm® QCS8450 | 10.052 ms | 4 - 217 MB | NPU
88
- | decoder | QNN_DLC | float | Qualcomm® SA8295P | 8.221 ms | 2 - 198 MB | NPU
89
- | decoder | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.594 ms | 4 - 192 MB | NPU
90
- | decoder | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 1.378 ms | 4 - 4 MB | NPU
91
- | decoder | QNN_DLC | w8a8 | Snapdragon® X Elite | 2.319 ms | 4 - 4 MB | NPU
92
- | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.286 ms | 0 - 109 MB | NPU
93
- | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.558 ms | 0 - 108 MB | NPU
94
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.994 ms | 1 - 7 MB | NPU
95
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 2.145 ms | 1 - 7 MB | NPU
96
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 3.899 ms | 4 - 89 MB | NPU
97
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.98 ms | 4 - 6 MB | NPU
98
- | decoder | QNN_DLC | w8a8 | Qualcomm® SA8775P | 2.59 ms | 4 - 91 MB | NPU
99
- | decoder | QNN_DLC | w8a8 | Qualcomm® SA8650P | 2.59 ms | 4 - 91 MB | NPU
100
- | decoder | QNN_DLC | w8a8 | Qualcomm® SA8255P | 2.59 ms | 4 - 91 MB | NPU
101
- | decoder | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 2.558 ms | 0 - 108 MB | NPU
102
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 2.397 ms | 3 - 9 MB | NPU
103
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 2.319 ms | 4 - 4 MB | NPU
104
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 9.996 ms | 4 - 274 MB | NPU
105
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.672 ms | 4 - 214 MB | NPU
106
- | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.027 ms | 1 - 88 MB | NPU
107
- | decoder | QNN_DLC | w8a8 | Qualcomm® SA7255P | 3.899 ms | 4 - 89 MB | NPU
108
- | decoder | QNN_DLC | w8a8 | Qualcomm® SA8295P | 2.98 ms | 4 - 87 MB | NPU
109
- | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 1.027 ms | 1 - 88 MB | NPU
110
- | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.919 ms | 1 - 110 MB | NPU
111
- | decoder | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.672 ms | 4 - 214 MB | NPU
112
- | decoder | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 10.069 ms | 0 - 220 MB | NPU
113
- | decoder | TFLITE | float | Qualcomm® QCS8450 | 10.069 ms | 0 - 220 MB | NPU
114
- | decoder | TFLITE | float | Qualcomm® SA8295P | 8.169 ms | 0 - 196 MB | NPU
115
- | decoder | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.59 ms | 0 - 183 MB | NPU
116
- | decoder | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 5.8 ms | 0 - 267 MB | NPU
117
- | decoder | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 10.154 ms | 0 - 247 MB | NPU
118
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 39.238 ms | 12 - 58 MB | NPU
119
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 7.803 ms | 0 - 15 MB | NPU
120
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 13.636 ms | 0 - 237 MB | NPU
121
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 7.749 ms | 0 - 22 MB | NPU
122
- | decoder | TFLITE | w8a8 | Qualcomm® SA8775P | 8.558 ms | 0 - 240 MB | NPU
123
- | decoder | TFLITE | w8a8 | Qualcomm® SA8650P | 8.558 ms | 0 - 240 MB | NPU
124
- | decoder | TFLITE | w8a8 | Qualcomm® SA8255P | 8.558 ms | 0 - 240 MB | NPU
125
- | decoder | TFLITE | w8a8 | Qualcomm® QCS8450 | 10.154 ms | 0 - 247 MB | NPU
126
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 8.941 ms | 0 - 14 MB | NPU
127
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 34.07 ms | 12 - 210 MB | NPU
128
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 14.217 ms | 14 - 204 MB | NPU
129
- | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 3.52 ms | 0 - 239 MB | NPU
130
- | decoder | TFLITE | w8a8 | Qualcomm® SA7255P | 13.636 ms | 0 - 237 MB | NPU
131
- | decoder | TFLITE | w8a8 | Qualcomm® SA8295P | 9.44 ms | 0 - 239 MB | NPU
132
- | decoder | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 3.52 ms | 0 - 239 MB | NPU
133
- | decoder | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 3.118 ms | 0 - 254 MB | NPU
134
- | decoder | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 14.217 ms | 14 - 204 MB | NPU
135
- | encoder | ONNX | float | Snapdragon® X2 Elite | 86.057 ms | 70 - 70 MB | NPU
136
- | encoder | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 98.055 ms | 46 - 1802 MB | NPU
137
- | encoder | ONNX | float | Snapdragon® 8 Elite Mobile | 98.055 ms | 46 - 1802 MB | NPU
138
- | encoder | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 79.043 ms | 44 - 1717 MB | NPU
139
- | encoder | ONNX | w8a8 | Snapdragon® X2 Elite | 35.564 ms | 18 - 18 MB | NPU
140
- | encoder | ONNX | w8a8 | Snapdragon® X Elite | 90.525 ms | 51 - 51 MB | NPU
141
- | encoder | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 62.535 ms | 16 - 1943 MB | NPU
142
- | encoder | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 125.173 ms | 12 - 2401 MB | NPU
143
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 676.142 ms | 6 - 12 MB | NPU
144
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 77.777 ms | 10 - 17 MB | NPU
145
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 88.339 ms | 0 - 55 MB | NPU
146
- | encoder | ONNX | w8a8 | Qualcomm® QCS8450 | 125.173 ms | 12 - 2401 MB | NPU
147
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 75.326 ms | 11 - 16 MB | NPU
148
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 90.525 ms | 51 - 51 MB | NPU
149
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 1674.736 ms | 3 - 1937 MB | NPU
150
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 89.094 ms | 6 - 2349 MB | NPU
151
- | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 38.756 ms | 12 - 2123 MB | NPU
152
- | encoder | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 38.756 ms | 12 - 2123 MB | NPU
153
- | encoder | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 34.165 ms | 10 - 1677 MB | NPU
154
- | encoder | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 89.094 ms | 6 - 2349 MB | NPU
155
- | encoder | QNN_DLC | float | Snapdragon® X2 Elite | 85.9 ms | 12 - 12 MB | NPU
156
- | encoder | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 348.234 ms | 13 - 1862 MB | NPU
157
- | encoder | QNN_DLC | float | Qualcomm® QCS8450 | 348.234 ms | 13 - 1862 MB | NPU
158
- | encoder | QNN_DLC | float | Qualcomm® SA8295P | 282.442 ms | 0 - 1581 MB | NPU
159
- | encoder | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 78.305 ms | 0 - 1704 MB | NPU
160
- | encoder | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 36.432 ms | 3 - 3 MB | NPU
161
- | encoder | QNN_DLC | w8a8 | Snapdragon® X Elite | 83.466 ms | 3 - 3 MB | NPU
162
- | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 54.694 ms | 3 - 1888 MB | NPU
163
- | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 138.136 ms | 3 - 1903 MB | NPU
164
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 679.012 ms | 3 - 13 MB | NPU
165
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 70.435 ms | 3 - 13 MB | NPU
166
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 136.242 ms | 3 - 1581 MB | NPU
167
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 79.664 ms | 3 - 6 MB | NPU
168
- | encoder | QNN_DLC | w8a8 | Qualcomm® SA8775P | 81.784 ms | 3 - 1581 MB | NPU
169
- | encoder | QNN_DLC | w8a8 | Qualcomm® SA8650P | 81.784 ms | 3 - 1581 MB | NPU
170
- | encoder | QNN_DLC | w8a8 | Qualcomm® SA8255P | 81.784 ms | 3 - 1581 MB | NPU
171
- | encoder | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 138.136 ms | 3 - 1903 MB | NPU
172
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 81.648 ms | 3 - 12 MB | NPU
173
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 83.466 ms | 3 - 3 MB | NPU
174
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 1558.831 ms | 3 - 1919 MB | NPU
175
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 95.55 ms | 3 - 2357 MB | NPU
176
- | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 40.512 ms | 3 - 1632 MB | NPU
177
- | encoder | QNN_DLC | w8a8 | Qualcomm® SA7255P | 136.242 ms | 3 - 1581 MB | NPU
178
- | encoder | QNN_DLC | w8a8 | Qualcomm® SA8295P | 96.056 ms | 0 - 1592 MB | NPU
179
- | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 40.512 ms | 3 - 1632 MB | NPU
180
- | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 35.301 ms | 3 - 1664 MB | NPU
181
- | encoder | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 95.55 ms | 3 - 2357 MB | NPU
182
- | encoder | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 357.909 ms | 21 - 1956 MB | NPU
183
- | encoder | TFLITE | float | Qualcomm® QCS8450 | 357.909 ms | 21 - 1956 MB | NPU
184
- | encoder | TFLITE | float | Qualcomm® SA8295P | 282.707 ms | 21 - 1665 MB | NPU
185
- | encoder | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 76.474 ms | 20 - 1777 MB | NPU
186
- | encoder | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 69.696 ms | 4 - 2229 MB | NPU
187
- | encoder | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 186.02 ms | 5 - 2293 MB | NPU
188
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 1720.803 ms | 78 - 341 MB | CPU
189
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 87.51 ms | 5 - 71 MB | NPU
190
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 162.66 ms | 5 - 1878 MB | NPU
191
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 100.537 ms | 5 - 10 MB | NPU
192
- | encoder | TFLITE | w8a8 | Qualcomm® SA8775P | 98.128 ms | 6 - 1877 MB | NPU
193
- | encoder | TFLITE | w8a8 | Qualcomm® SA8650P | 98.128 ms | 6 - 1877 MB | NPU
194
- | encoder | TFLITE | w8a8 | Qualcomm® SA8255P | 98.128 ms | 6 - 1877 MB | NPU
195
- | encoder | TFLITE | w8a8 | Qualcomm® QCS8450 | 186.02 ms | 5 - 2293 MB | NPU
196
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 96.191 ms | 3 - 69 MB | NPU
197
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 2329.849 ms | 61 - 294 MB | CPU
198
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 1130.323 ms | 66 - 277 MB | CPU
199
- | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 53.951 ms | 5 - 1793 MB | NPU
200
- | encoder | TFLITE | w8a8 | Qualcomm® SA7255P | 162.66 ms | 5 - 1878 MB | NPU
201
- | encoder | TFLITE | w8a8 | Qualcomm® SA8295P | 117.61 ms | 5 - 1883 MB | NPU
202
- | encoder | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 53.951 ms | 5 - 1793 MB | NPU
203
- | encoder | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 34.456 ms | 4 - 1792 MB | NPU
204
- | encoder | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 1130.323 ms | 66 - 277 MB | CPU
 
 
 
 
205
 
206
  ## License
207
  * The license for the original implementation of Segment-Anything-Model-2 can be found
 
1
  ---
2
  library_name: pytorch
3
+ license: apache-2.0
4
  tags:
5
  - foundation
6
  - android
 
15
  SAM 2, the successor to Meta's Segment Anything Model (SAM), is a cutting-edge tool designed for comprehensive object segmentation in both images and videos. It excels in handling complex visual data through a unified, promptable model architecture that supports real-time processing and zero-shot generalization.
16
 
17
  This is based on the implementation of Segment-Anything-Model-2 found [here](https://github.com/facebookresearch/sam2).
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.61.0/src/qai_hub_models/models/sam2) 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.45, ONNX Runtime 1.27.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-onnx-float.zip)
32
+ | ONNX | w8a8 | Universal | QAIRT 2.45, ONNX Runtime 1.27.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-onnx-w8a8.zip)
33
+ | QNN_DLC | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-qnn_dlc-float.zip)
34
+ | QNN_DLC | w8a8 | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-qnn_dlc-w8a8.zip)
35
+ | TFLITE | w8a8 | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-tflite-w8a8.zip)
36
 
37
  For more device-specific assets and performance metrics, visit **[Segment-Anything-Model-2 on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/sam2)**.
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/v0.61.0/src/qai_hub_models/models/sam2) 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 [Segment-Anything-Model-2 on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.61.0/src/qai_hub_models/models/sam2) for usage instructions.
50
 
51
  ## Model Details
52
 
 
63
  ## Performance Summary
64
  | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
65
  |---|---|---|---|---|---|---
66
+ | decoder | ONNX | float | Snapdragon® X2 Elite | 3.338 ms | 16 - 16 MB | NPU
67
+ | decoder | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 3.762 ms | 1 - 224 MB | NPU
68
+ | decoder | ONNX | float | Snapdragon® 8 Elite Mobile | 3.762 ms | 1 - 224 MB | NPU
69
+ | decoder | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 3.187 ms | 3 - 229 MB | NPU
70
+ | decoder | ONNX | w8a8 | Snapdragon® X2 Elite | 1.337 ms | 4 - 4 MB | NPU
71
+ | decoder | ONNX | w8a8 | Snapdragon® X Elite | 2.725 ms | 4 - 4 MB | NPU
72
+ | decoder | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.78 ms | 4 - 158 MB | NPU
73
+ | decoder | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 3.482 ms | 4 - 161 MB | NPU
74
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 13.014 ms | 4 - 7 MB | NPU
75
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 2.79 ms | 4 - 8 MB | NPU
76
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 2.634 ms | 2 - 8 MB | NPU
77
+ | decoder | ONNX | w8a8 | Qualcomm® QCS8450 | 3.482 ms | 4 - 161 MB | NPU
78
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 3.159 ms | 4 - 7 MB | NPU
79
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 2.725 ms | 4 - 4 MB | NPU
80
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 18.526 ms | 2 - 250 MB | NPU
81
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 3.382 ms | 4 - 297 MB | NPU
82
+ | decoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.437 ms | 0 - 128 MB | NPU
83
+ | decoder | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 1.437 ms | 0 - 128 MB | NPU
84
+ | decoder | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.233 ms | 0 - 153 MB | NPU
85
+ | decoder | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 3.382 ms | 4 - 297 MB | NPU
86
+ | decoder | QNN_DLC | float | Snapdragon® X2 Elite | 3.097 ms | 16 - 16 MB | NPU
87
+ | decoder | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 10.029 ms | 4 - 217 MB | NPU
88
+ | decoder | QNN_DLC | float | Qualcomm® QCS8450 | 10.029 ms | 4 - 217 MB | NPU
89
+ | decoder | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 2.92 ms | 4 - 191 MB | NPU
90
+ | decoder | QNN_DLC | float | Qualcomm® SA8295P | 8.17 ms | 0 - 195 MB | NPU
91
+ | decoder | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 2.92 ms | 4 - 191 MB | NPU
92
+ | decoder | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.593 ms | 4 - 192 MB | NPU
93
+ | decoder | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 1.321 ms | 4 - 4 MB | NPU
94
+ | decoder | QNN_DLC | w8a8 | Snapdragon® X Elite | 2.247 ms | 4 - 4 MB | NPU
95
+ | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.29 ms | 4 - 112 MB | NPU
96
+ | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.562 ms | 0 - 111 MB | NPU
97
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.977 ms | 3 - 9 MB | NPU
98
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 2.151 ms | 1 - 7 MB | NPU
99
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 3.951 ms | 4 - 89 MB | NPU
100
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.955 ms | 4 - 6 MB | NPU
101
+ | decoder | QNN_DLC | w8a8 | Qualcomm® SA8775P | 2.614 ms | 4 - 90 MB | NPU
102
+ | decoder | QNN_DLC | w8a8 | Qualcomm® SA8650P | 2.614 ms | 4 - 90 MB | NPU
103
+ | decoder | QNN_DLC | w8a8 | Qualcomm® SA8255P | 2.614 ms | 4 - 90 MB | NPU
104
+ | decoder | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 2.562 ms | 0 - 111 MB | NPU
105
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 2.45 ms | 1 - 6 MB | NPU
106
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 2.247 ms | 4 - 4 MB | NPU
107
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 10.184 ms | 4 - 274 MB | NPU
108
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.697 ms | 4 - 217 MB | NPU
109
+ | decoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.035 ms | 1 - 89 MB | NPU
110
+ | decoder | QNN_DLC | w8a8 | Qualcomm® SA7255P | 3.951 ms | 4 - 89 MB | NPU
111
+ | decoder | QNN_DLC | w8a8 | Qualcomm® SA8295P | 2.967 ms | 4 - 87 MB | NPU
112
+ | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 1.035 ms | 1 - 89 MB | NPU
113
+ | decoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.915 ms | 1 - 110 MB | NPU
114
+ | decoder | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.697 ms | 4 - 217 MB | NPU
115
+ | decoder | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 10.021 ms | 0 - 218 MB | NPU
116
+ | decoder | TFLITE | float | Qualcomm® QCS8450 | 10.021 ms | 0 - 218 MB | NPU
117
+ | decoder | TFLITE | float | Qualcomm® SA8295P | 8.14 ms | 0 - 196 MB | NPU
118
+ | decoder | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.624 ms | 0 - 184 MB | NPU
119
+ | decoder | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 5.806 ms | 0 - 266 MB | NPU
120
+ | decoder | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 10.219 ms | 0 - 245 MB | NPU
121
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 38.966 ms | 12 - 58 MB | NPU
122
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 7.786 ms | 0 - 15 MB | NPU
123
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 13.573 ms | 0 - 237 MB | NPU
124
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 7.668 ms | 0 - 22 MB | NPU
125
+ | decoder | TFLITE | w8a8 | Qualcomm® SA8775P | 8.562 ms | 0 - 241 MB | NPU
126
+ | decoder | TFLITE | w8a8 | Qualcomm® SA8650P | 8.562 ms | 0 - 241 MB | NPU
127
+ | decoder | TFLITE | w8a8 | Qualcomm® SA8255P | 8.562 ms | 0 - 241 MB | NPU
128
+ | decoder | TFLITE | w8a8 | Qualcomm® QCS8450 | 10.219 ms | 0 - 245 MB | NPU
129
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 8.298 ms | 0 - 14 MB | NPU
130
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 33.272 ms | 12 - 211 MB | NPU
131
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 14.337 ms | 12 - 201 MB | NPU
132
+ | decoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 3.513 ms | 0 - 239 MB | NPU
133
+ | decoder | TFLITE | w8a8 | Qualcomm® SA7255P | 13.573 ms | 0 - 237 MB | NPU
134
+ | decoder | TFLITE | w8a8 | Qualcomm® SA8295P | 9.407 ms | 0 - 240 MB | NPU
135
+ | decoder | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 3.513 ms | 0 - 239 MB | NPU
136
+ | decoder | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 3.113 ms | 0 - 254 MB | NPU
137
+ | decoder | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 14.337 ms | 12 - 201 MB | NPU
138
+ | encoder | ONNX | float | Snapdragon® X2 Elite | 94.851 ms | 70 - 70 MB | NPU
139
+ | encoder | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 98.324 ms | 46 - 1803 MB | NPU
140
+ | encoder | ONNX | float | Snapdragon® 8 Elite Mobile | 98.324 ms | 46 - 1803 MB | NPU
141
+ | encoder | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 78.994 ms | 43 - 1716 MB | NPU
142
+ | encoder | ONNX | w8a8 | Snapdragon® X2 Elite | 35.785 ms | 18 - 18 MB | NPU
143
+ | encoder | ONNX | w8a8 | Snapdragon® X Elite | 91.191 ms | 51 - 51 MB | NPU
144
+ | encoder | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 62.474 ms | 0 - 1925 MB | NPU
145
+ | encoder | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 123.164 ms | 10 - 2397 MB | NPU
146
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 675.856 ms | 6 - 11 MB | NPU
147
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 77.962 ms | 10 - 17 MB | NPU
148
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 89.027 ms | 0 - 57 MB | NPU
149
+ | encoder | ONNX | w8a8 | Qualcomm® QCS8450 | 123.164 ms | 10 - 2397 MB | NPU
150
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 75.335 ms | 11 - 17 MB | NPU
151
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 91.191 ms | 51 - 51 MB | NPU
152
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 1435.212 ms | 3 - 1932 MB | NPU
153
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 89.37 ms | 16 - 2359 MB | NPU
154
+ | encoder | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 39.526 ms | 12 - 2123 MB | NPU
155
+ | encoder | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 39.526 ms | 12 - 2123 MB | NPU
156
+ | encoder | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 34.142 ms | 11 - 1679 MB | NPU
157
+ | encoder | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 89.37 ms | 16 - 2359 MB | NPU
158
+ | encoder | QNN_DLC | float | Snapdragon® X2 Elite | 86.282 ms | 12 - 12 MB | NPU
159
+ | encoder | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 341.726 ms | 13 - 1862 MB | NPU
160
+ | encoder | QNN_DLC | float | Qualcomm® QCS8450 | 341.726 ms | 13 - 1862 MB | NPU
161
+ | encoder | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 101.206 ms | 12 - 2522 MB | NPU
162
+ | encoder | QNN_DLC | float | Qualcomm® SA8295P | 281.899 ms | 0 - 1581 MB | NPU
163
+ | encoder | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 101.206 ms | 12 - 2522 MB | NPU
164
+ | encoder | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 78.361 ms | 12 - 1717 MB | NPU
165
+ | encoder | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 36.742 ms | 3 - 3 MB | NPU
166
+ | encoder | QNN_DLC | w8a8 | Snapdragon® X Elite | 83.285 ms | 3 - 3 MB | NPU
167
+ | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 54.697 ms | 3 - 1879 MB | NPU
168
+ | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 138.05 ms | 4 - 1912 MB | NPU
169
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 679.261 ms | 5 - 15 MB | NPU
170
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 70.303 ms | 3 - 13 MB | NPU
171
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 136.136 ms | 3 - 1581 MB | NPU
172
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 78.778 ms | 3 - 7 MB | NPU
173
+ | encoder | QNN_DLC | w8a8 | Qualcomm® SA8775P | 81.923 ms | 3 - 1581 MB | NPU
174
+ | encoder | QNN_DLC | w8a8 | Qualcomm® SA8650P | 81.923 ms | 3 - 1581 MB | NPU
175
+ | encoder | QNN_DLC | w8a8 | Qualcomm® SA8255P | 81.923 ms | 3 - 1581 MB | NPU
176
+ | encoder | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 138.05 ms | 4 - 1912 MB | NPU
177
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 81.598 ms | 5 - 14 MB | NPU
178
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 83.285 ms | 3 - 3 MB | NPU
179
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 1620.699 ms | 3 - 1919 MB | NPU
180
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 94.658 ms | 3 - 2357 MB | NPU
181
+ | encoder | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 40.578 ms | 3 - 1622 MB | NPU
182
+ | encoder | QNN_DLC | w8a8 | Qualcomm® SA7255P | 136.136 ms | 3 - 1581 MB | NPU
183
+ | encoder | QNN_DLC | w8a8 | Qualcomm® SA8295P | 95.532 ms | 0 - 1604 MB | NPU
184
+ | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 40.578 ms | 3 - 1622 MB | NPU
185
+ | encoder | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 35.335 ms | 3 - 1661 MB | NPU
186
+ | encoder | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 94.658 ms | 3 - 2357 MB | NPU
187
+ | encoder | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 361.821 ms | 0 - 1937 MB | NPU
188
+ | encoder | TFLITE | float | Qualcomm® QCS8450 | 361.821 ms | 0 - 1937 MB | NPU
189
+ | encoder | TFLITE | float | Qualcomm® SA8295P | 282.527 ms | 20 - 1665 MB | NPU
190
+ | encoder | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 76.398 ms | 20 - 1778 MB | NPU
191
+ | encoder | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 71.342 ms | 86 - 2301 MB | NPU
192
+ | encoder | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 187.864 ms | 5 - 2290 MB | NPU
193
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 1736.893 ms | 78 - 340 MB | CPU
194
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 87.003 ms | 5 - 71 MB | NPU
195
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 162.883 ms | 5 - 1874 MB | NPU
196
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 100.32 ms | 5 - 77 MB | NPU
197
+ | encoder | TFLITE | w8a8 | Qualcomm® SA8775P | 98.149 ms | 6 - 1874 MB | NPU
198
+ | encoder | TFLITE | w8a8 | Qualcomm® SA8650P | 98.149 ms | 6 - 1874 MB | NPU
199
+ | encoder | TFLITE | w8a8 | Qualcomm® SA8255P | 98.149 ms | 6 - 1874 MB | NPU
200
+ | encoder | TFLITE | w8a8 | Qualcomm® QCS8450 | 187.864 ms | 5 - 2290 MB | NPU
201
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 121.414 ms | 3 - 69 MB | NPU
202
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 2445.476 ms | 21 - 255 MB | CPU
203
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 1150.632 ms | 78 - 311 MB | CPU
204
+ | encoder | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 54.916 ms | 4 - 1793 MB | NPU
205
+ | encoder | TFLITE | w8a8 | Qualcomm® SA7255P | 162.883 ms | 5 - 1874 MB | NPU
206
+ | encoder | TFLITE | w8a8 | Qualcomm® SA8295P | 117.647 ms | 5 - 1882 MB | NPU
207
+ | encoder | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 54.916 ms | 4 - 1793 MB | NPU
208
+ | encoder | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 34.467 ms | 5 - 1792 MB | NPU
209
+ | encoder | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 1150.632 ms | 78 - 311 MB | CPU
210
 
211
  ## License
212
  * The license for the original implementation of Segment-Anything-Model-2 can be found
release_assets.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "version": "0.60.0",
3
  "precisions": {
4
  "float": {
5
  "universal_assets": {
@@ -8,7 +8,13 @@
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/sam2/releases/v0.60.0/sam2-onnx-float.zip"
 
 
 
 
 
 
12
  }
13
  }
14
  },
@@ -19,19 +25,19 @@
19
  "qairt": "2.45.0.260326154327",
20
  "onnx_runtime": "1.27.1"
21
  },
22
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.60.0/sam2-onnx-w8a8.zip"
23
  },
24
  "qnn_dlc": {
25
  "tool_versions": {
26
  "qairt": "2.45.0.260326154327"
27
  },
28
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.60.0/sam2-qnn_dlc-w8a8.zip"
29
  },
30
  "tflite": {
31
  "tool_versions": {
32
  "qairt": "2.45.0.260326154327"
33
  },
34
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.60.0/sam2-tflite-w8a8.zip"
35
  }
36
  }
37
  }
 
1
  {
2
+ "version": "0.61.0",
3
  "precisions": {
4
  "float": {
5
  "universal_assets": {
 
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/sam2/releases/v0.61.0/sam2-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/sam2/releases/v0.61.0/sam2-qnn_dlc-float.zip"
18
  }
19
  }
20
  },
 
25
  "qairt": "2.45.0.260326154327",
26
  "onnx_runtime": "1.27.1"
27
  },
28
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-onnx-w8a8.zip"
29
  },
30
  "qnn_dlc": {
31
  "tool_versions": {
32
  "qairt": "2.45.0.260326154327"
33
  },
34
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-qnn_dlc-w8a8.zip"
35
  },
36
  "tflite": {
37
  "tool_versions": {
38
  "qairt": "2.45.0.260326154327"
39
  },
40
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/sam2/releases/v0.61.0/sam2-tflite-w8a8.zip"
41
  }
42
  }
43
  }