qaihm-bot commited on
Commit
fdfc73d
·
verified ·
1 Parent(s): ce2e9dc

See https://github.com/quic/ai-hub-models/releases/v0.30.5 for changelog.

Files changed (2) hide show
  1. README.md +65 -65
  2. ResNet18_w8a8.onnx +2 -2
README.md CHANGED
@@ -36,67 +36,67 @@ More details on model performance across various devices, can be found
36
 
37
  | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
- | ResNet18 | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 6.167 ms | 0 - 15 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
40
- | ResNet18 | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 5.987 ms | 1 - 10 MB | NPU | Use Export Script |
41
- | ResNet18 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 2.066 ms | 0 - 46 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
42
- | ResNet18 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 2.478 ms | 1 - 25 MB | NPU | Use Export Script |
43
- | ResNet18 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 1.422 ms | 0 - 209 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
44
- | ResNet18 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 1.273 ms | 1 - 2 MB | NPU | Use Export Script |
45
- | ResNet18 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 2.209 ms | 0 - 17 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
46
- | ResNet18 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 1.961 ms | 0 - 15 MB | NPU | Use Export Script |
47
- | ResNet18 | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 6.167 ms | 0 - 15 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
48
- | ResNet18 | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 5.987 ms | 1 - 10 MB | NPU | Use Export Script |
49
- | ResNet18 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 1.421 ms | 0 - 211 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
50
- | ResNet18 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 1.274 ms | 1 - 3 MB | NPU | Use Export Script |
51
- | ResNet18 | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 2.47 ms | 0 - 17 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
52
- | ResNet18 | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 2.288 ms | 0 - 20 MB | NPU | Use Export Script |
53
- | ResNet18 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 1.419 ms | 0 - 209 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
54
- | ResNet18 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 1.274 ms | 1 - 3 MB | NPU | Use Export Script |
55
- | ResNet18 | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 2.209 ms | 0 - 17 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
56
- | ResNet18 | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 1.961 ms | 0 - 15 MB | NPU | Use Export Script |
57
- | ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 1.42 ms | 0 - 209 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
58
- | ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 1.275 ms | 0 - 70 MB | NPU | Use Export Script |
59
- | ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 1.165 ms | 0 - 89 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
60
- | ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 1.0 ms | 0 - 43 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
61
- | ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.907 ms | 0 - 23 MB | NPU | Use Export Script |
62
- | ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.853 ms | 0 - 23 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
63
- | ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.902 ms | 0 - 16 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
64
- | ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.812 ms | 1 - 19 MB | NPU | Use Export Script |
65
- | ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.867 ms | 1 - 17 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
66
- | ResNet18 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.406 ms | 1 - 1 MB | NPU | Use Export Script |
67
- | ResNet18 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.304 ms | 22 - 22 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
68
- | ResNet18 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 1.117 ms | 0 - 12 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
69
- | ResNet18 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 1.324 ms | 0 - 10 MB | NPU | Use Export Script |
70
- | ResNet18 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.549 ms | 0 - 36 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
71
- | ResNet18 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.843 ms | 0 - 42 MB | NPU | Use Export Script |
72
- | ResNet18 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.413 ms | 0 - 74 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
73
- | ResNet18 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.554 ms | 0 - 10 MB | NPU | Use Export Script |
74
- | ResNet18 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.596 ms | 0 - 15 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
75
- | ResNet18 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.708 ms | 0 - 14 MB | NPU | Use Export Script |
76
- | ResNet18 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 1.389 ms | 0 - 29 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
77
- | ResNet18 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 2.163 ms | 0 - 12 MB | NPU | Use Export Script |
78
- | ResNet18 | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 7.101 ms | 0 - 2 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
79
- | ResNet18 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 1.117 ms | 0 - 12 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
80
- | ResNet18 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 1.324 ms | 0 - 10 MB | NPU | Use Export Script |
81
- | ResNet18 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.421 ms | 0 - 76 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
82
- | ResNet18 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.547 ms | 0 - 3 MB | NPU | Use Export Script |
83
- | ResNet18 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.766 ms | 0 - 15 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
84
- | ResNet18 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.885 ms | 0 - 17 MB | NPU | Use Export Script |
85
- | ResNet18 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.415 ms | 0 - 77 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
86
- | ResNet18 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.548 ms | 0 - 3 MB | NPU | Use Export Script |
87
- | ResNet18 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.596 ms | 0 - 15 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
88
- | ResNet18 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.708 ms | 0 - 14 MB | NPU | Use Export Script |
89
- | ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.424 ms | 0 - 76 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
90
- | ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.548 ms | 0 - 74 MB | NPU | Use Export Script |
91
- | ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 11.908 ms | 9 - 99 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
92
- | ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.32 ms | 0 - 33 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
93
- | ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.424 ms | 0 - 40 MB | NPU | Use Export Script |
94
- | ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 9.563 ms | 12 - 227 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
95
- | ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.325 ms | 0 - 18 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
96
- | ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.345 ms | 0 - 16 MB | NPU | Use Export Script |
97
- | ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 8.016 ms | 11 - 207 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
98
- | ResNet18 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.608 ms | 0 - 0 MB | NPU | Use Export Script |
99
- | ResNet18 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 11.994 ms | 17 - 17 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
100
 
101
 
102
 
@@ -160,8 +160,8 @@ Profiling Results
160
  ResNet18
161
  Device : cs_8275 (ANDROID 14)
162
  Runtime : TFLITE
163
- Estimated inference time (ms) : 6.2
164
- Estimated peak memory usage (MB): [0, 15]
165
  Total # Ops : 38
166
  Compute Unit(s) : npu (38 ops) gpu (0 ops) cpu (0 ops)
167
  ```
@@ -250,13 +250,13 @@ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
250
  You can also run the demo on-device.
251
 
252
  ```bash
253
- python -m qai_hub_models.models.resnet18.demo --on-device
254
  ```
255
 
256
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
257
  environment, please add the following to your cell (instead of the above).
258
  ```
259
- %run -m qai_hub_models.models.resnet18.demo -- --on-device
260
  ```
261
 
262
 
 
36
 
37
  | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
+ | ResNet18 | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 40.631 ms | 0 - 16 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
40
+ | ResNet18 | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 40.992 ms | 1 - 10 MB | NPU | Use Export Script |
41
+ | ResNet18 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 1.994 ms | 0 - 45 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
42
+ | ResNet18 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 2.353 ms | 1 - 24 MB | NPU | Use Export Script |
43
+ | ResNet18 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 1.354 ms | 0 - 222 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
44
+ | ResNet18 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 1.258 ms | 1 - 3 MB | NPU | Use Export Script |
45
+ | ResNet18 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 2.106 ms | 0 - 16 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
46
+ | ResNet18 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 1.901 ms | 1 - 11 MB | NPU | Use Export Script |
47
+ | ResNet18 | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 40.631 ms | 0 - 16 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
48
+ | ResNet18 | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 40.992 ms | 1 - 10 MB | NPU | Use Export Script |
49
+ | ResNet18 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 1.351 ms | 0 - 222 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
50
+ | ResNet18 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 1.266 ms | 1 - 4 MB | NPU | Use Export Script |
51
+ | ResNet18 | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 2.525 ms | 0 - 20 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
52
+ | ResNet18 | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 2.313 ms | 0 - 17 MB | NPU | Use Export Script |
53
+ | ResNet18 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 1.353 ms | 0 - 219 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
54
+ | ResNet18 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 1.262 ms | 1 - 12 MB | NPU | Use Export Script |
55
+ | ResNet18 | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 2.106 ms | 0 - 16 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
56
+ | ResNet18 | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 1.901 ms | 1 - 11 MB | NPU | Use Export Script |
57
+ | ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 1.351 ms | 0 - 220 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
58
+ | ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 1.26 ms | 0 - 86 MB | NPU | Use Export Script |
59
+ | ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 1.169 ms | 0 - 90 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
60
+ | ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.96 ms | 0 - 44 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
61
+ | ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.886 ms | 0 - 25 MB | NPU | Use Export Script |
62
+ | ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.851 ms | 1 - 23 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
63
+ | ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.754 ms | 0 - 23 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.tflite) |
64
+ | ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.822 ms | 1 - 24 MB | NPU | Use Export Script |
65
+ | ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.862 ms | 3 - 20 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
66
+ | ResNet18 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.385 ms | 1 - 1 MB | NPU | Use Export Script |
67
+ | ResNet18 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.278 ms | 23 - 23 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18.onnx) |
68
+ | ResNet18 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 4.533 ms | 0 - 12 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
69
+ | ResNet18 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 4.879 ms | 0 - 9 MB | NPU | Use Export Script |
70
+ | ResNet18 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.493 ms | 0 - 34 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
71
+ | ResNet18 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.755 ms | 0 - 37 MB | NPU | Use Export Script |
72
+ | ResNet18 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.422 ms | 0 - 90 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
73
+ | ResNet18 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.555 ms | 0 - 2 MB | NPU | Use Export Script |
74
+ | ResNet18 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.59 ms | 0 - 14 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
75
+ | ResNet18 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.708 ms | 0 - 12 MB | NPU | Use Export Script |
76
+ | ResNet18 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 1.41 ms | 0 - 27 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
77
+ | ResNet18 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 2.067 ms | 0 - 12 MB | NPU | Use Export Script |
78
+ | ResNet18 | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 7.312 ms | 0 - 2 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
79
+ | ResNet18 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 4.533 ms | 0 - 12 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
80
+ | ResNet18 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 4.879 ms | 0 - 9 MB | NPU | Use Export Script |
81
+ | ResNet18 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.422 ms | 0 - 87 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
82
+ | ResNet18 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.551 ms | 0 - 2 MB | NPU | Use Export Script |
83
+ | ResNet18 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.786 ms | 0 - 16 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
84
+ | ResNet18 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.893 ms | 0 - 17 MB | NPU | Use Export Script |
85
+ | ResNet18 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.412 ms | 0 - 88 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
86
+ | ResNet18 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.545 ms | 0 - 2 MB | NPU | Use Export Script |
87
+ | ResNet18 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.59 ms | 0 - 14 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
88
+ | ResNet18 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.708 ms | 0 - 12 MB | NPU | Use Export Script |
89
+ | ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.413 ms | 0 - 87 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
90
+ | ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.548 ms | 0 - 88 MB | NPU | Use Export Script |
91
+ | ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 13.194 ms | 9 - 103 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
92
+ | ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.32 ms | 0 - 35 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
93
+ | ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.404 ms | 0 - 35 MB | NPU | Use Export Script |
94
+ | ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 9.184 ms | 11 - 254 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
95
+ | ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.287 ms | 0 - 15 MB | NPU | [ResNet18.tflite](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.tflite) |
96
+ | ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.342 ms | 0 - 15 MB | NPU | Use Export Script |
97
+ | ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 7.95 ms | 12 - 259 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
98
+ | ResNet18 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.602 ms | 0 - 0 MB | NPU | Use Export Script |
99
+ | ResNet18 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 11.826 ms | 17 - 17 MB | NPU | [ResNet18.onnx](https://huggingface.co/qualcomm/ResNet18/blob/main/ResNet18_w8a8.onnx) |
100
 
101
 
102
 
 
160
  ResNet18
161
  Device : cs_8275 (ANDROID 14)
162
  Runtime : TFLITE
163
+ Estimated inference time (ms) : 40.6
164
+ Estimated peak memory usage (MB): [0, 16]
165
  Total # Ops : 38
166
  Compute Unit(s) : npu (38 ops) gpu (0 ops) cpu (0 ops)
167
  ```
 
250
  You can also run the demo on-device.
251
 
252
  ```bash
253
+ python -m qai_hub_models.models.resnet18.demo --eval-mode on-device
254
  ```
255
 
256
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
257
  environment, please add the following to your cell (instead of the above).
258
  ```
259
+ %run -m qai_hub_models.models.resnet18.demo -- --eval-mode on-device
260
  ```
261
 
262
 
ResNet18_w8a8.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c2e9a0db40f6e14a7b4d8ed7b7330562400cd1a1a02ac40267859fca729f78f2
3
- size 46796425
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3068909f441df5b86fdcc7f1397bb85e49e3e096de577445302a4324eece996
3
+ size 46800162