v0.30.5
Browse filesSee https://github.com/quic/ai-hub-models/releases/v0.30.5 for changelog.
- README.md +65 -65
- 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 |
|
40 |
-
| ResNet18 | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN |
|
41 |
-
| ResNet18 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE |
|
42 |
-
| ResNet18 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 2.
|
43 |
-
| ResNet18 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 1.
|
44 |
-
| ResNet18 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 1.
|
45 |
-
| ResNet18 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 2.
|
46 |
-
| ResNet18 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 1.
|
47 |
-
| ResNet18 | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE |
|
48 |
-
| ResNet18 | float | SA7255P ADP | Qualcomm® SA7255P | QNN |
|
49 |
-
| ResNet18 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 1.
|
50 |
-
| ResNet18 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 1.
|
51 |
-
| ResNet18 | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 2.
|
52 |
-
| ResNet18 | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 2.
|
53 |
-
| ResNet18 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 1.
|
54 |
-
| ResNet18 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 1.
|
55 |
-
| ResNet18 | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 2.
|
56 |
-
| ResNet18 | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 1.
|
57 |
-
| ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 1.
|
58 |
-
| ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 1.
|
59 |
-
| ResNet18 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 1.
|
60 |
-
| ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE |
|
61 |
-
| ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.
|
62 |
-
| ResNet18 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.
|
63 |
-
| ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.
|
64 |
-
| ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.
|
65 |
-
| ResNet18 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.
|
66 |
-
| ResNet18 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.
|
67 |
-
| ResNet18 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.
|
68 |
-
| ResNet18 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE |
|
69 |
-
| ResNet18 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN |
|
70 |
-
| ResNet18 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.
|
71 |
-
| ResNet18 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.
|
72 |
-
| ResNet18 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.
|
73 |
-
| ResNet18 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.
|
74 |
-
| ResNet18 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.
|
75 |
-
| ResNet18 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.708 ms | 0 -
|
76 |
-
| ResNet18 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 1.
|
77 |
-
| ResNet18 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 2.
|
78 |
-
| ResNet18 | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 7.
|
79 |
-
| ResNet18 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE |
|
80 |
-
| ResNet18 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN |
|
81 |
-
| ResNet18 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.
|
82 |
-
| ResNet18 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.
|
83 |
-
| ResNet18 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.
|
84 |
-
| ResNet18 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.
|
85 |
-
| ResNet18 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.
|
86 |
-
| ResNet18 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.
|
87 |
-
| ResNet18 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.
|
88 |
-
| ResNet18 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.708 ms | 0 -
|
89 |
-
| ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.
|
90 |
-
| ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.548 ms | 0 -
|
91 |
-
| ResNet18 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX |
|
92 |
-
| ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.32 ms | 0 -
|
93 |
-
| ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.
|
94 |
-
| ResNet18 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 9.
|
95 |
-
| ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.
|
96 |
-
| ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.
|
97 |
-
| ResNet18 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX |
|
98 |
-
| ResNet18 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.
|
99 |
-
| ResNet18 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 11.
|
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
|
164 |
-
Estimated peak memory usage (MB): [0,
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3068909f441df5b86fdcc7f1397bb85e49e3e096de577445302a4324eece996
|
3 |
+
size 46800162
|