qaihm-bot commited on
Commit
87db2ee
·
verified ·
1 Parent(s): 0c3bc5d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +58 -39
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  library_name: pytorch
3
- license: bsd-3-clause
4
  tags:
5
  - backbone
6
  - android
@@ -26,44 +26,63 @@ More details on model performance across various devices, can be found
26
 
27
  ### Model Details
28
 
29
- - **Model Type:** Video classification
30
  - **Model Stats:**
31
  - Model checkpoint: Kinetics-400
32
  - Input resolution: 112x112
33
  - Number of parameters: 33.4M
34
- - Model size: 127 MB
 
35
 
36
- | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
37
  |---|---|---|---|---|---|---|---|---|
38
- | ResNet-3D | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 22.416 ms | 3 - 839 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
39
- | ResNet-3D | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 15.265 ms | 5 - 20 MB | FP16 | NPU | [ResNet-3D.so](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.so) |
40
- | ResNet-3D | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 14.934 ms | 0 - 214 MB | FP16 | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
41
- | ResNet-3D | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 15.788 ms | 28 - 69 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
42
- | ResNet-3D | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 11.105 ms | 113 - 169 MB | FP16 | NPU | [ResNet-3D.so](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.so) |
43
- | ResNet-3D | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 11.38 ms | 2 - 59 MB | FP16 | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
44
- | ResNet-3D | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 17.088 ms | 29 - 59 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
45
- | ResNet-3D | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 10.852 ms | 2 - 47 MB | FP16 | NPU | Use Export Script |
46
- | ResNet-3D | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 9.554 ms | 0 - 44 MB | FP16 | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
47
- | ResNet-3D | SA7255P ADP | SA7255P | TFLITE | 733.009 ms | 29 - 56 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
48
- | ResNet-3D | SA7255P ADP | SA7255P | QNN | 709.333 ms | 0 - 9 MB | FP16 | NPU | Use Export Script |
49
- | ResNet-3D | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 22.573 ms | 0 - 867 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
50
- | ResNet-3D | SA8255 (Proxy) | SA8255P Proxy | QNN | 14.69 ms | 4 - 6 MB | FP16 | NPU | Use Export Script |
51
- | ResNet-3D | SA8295P ADP | SA8295P | TFLITE | 39.51 ms | 29 - 56 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
52
- | ResNet-3D | SA8295P ADP | SA8295P | QNN | 27.386 ms | 0 - 18 MB | FP16 | NPU | Use Export Script |
53
- | ResNet-3D | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 22.334 ms | 3 - 846 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
54
- | ResNet-3D | SA8650 (Proxy) | SA8650P Proxy | QNN | 14.681 ms | 3 - 5 MB | FP16 | NPU | Use Export Script |
55
- | ResNet-3D | SA8775P ADP | SA8775P | TFLITE | 42.946 ms | 29 - 55 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
56
- | ResNet-3D | SA8775P ADP | SA8775P | QNN | 31.14 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
57
- | ResNet-3D | QCS8275 (Proxy) | QCS8275 Proxy | TFLITE | 733.009 ms | 29 - 56 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
58
- | ResNet-3D | QCS8275 (Proxy) | QCS8275 Proxy | QNN | 709.333 ms | 0 - 9 MB | FP16 | NPU | Use Export Script |
59
- | ResNet-3D | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 22.283 ms | 3 - 869 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
60
- | ResNet-3D | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 14.499 ms | 2 - 6 MB | FP16 | NPU | Use Export Script |
61
- | ResNet-3D | QCS9075 (Proxy) | QCS9075 Proxy | TFLITE | 42.946 ms | 29 - 55 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
62
- | ResNet-3D | QCS9075 (Proxy) | QCS9075 Proxy | QNN | 31.14 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
63
- | ResNet-3D | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 42.015 ms | 29 - 71 MB | FP16 | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
64
- | ResNet-3D | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 24.913 ms | 2 - 57 MB | FP16 | NPU | Use Export Script |
65
- | ResNet-3D | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 14.975 ms | 2 - 2 MB | FP16 | NPU | Use Export Script |
66
- | ResNet-3D | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 14.919 ms | 64 - 64 MB | FP16 | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
 
69
 
@@ -125,12 +144,12 @@ python -m qai_hub_models.models.resnet_3d.export
125
  Profiling Results
126
  ------------------------------------------------------------
127
  ResNet-3D
128
- Device : Samsung Galaxy S23 (13)
129
- Runtime : TFLITE
130
- Estimated inference time (ms) : 22.4
131
- Estimated peak memory usage (MB): [3, 839]
132
- Total # Ops : 57
133
- Compute Unit(s) : NPU (53 ops) CPU (4 ops)
134
  ```
135
 
136
 
 
1
  ---
2
  library_name: pytorch
3
+ license: other
4
  tags:
5
  - backbone
6
  - android
 
26
 
27
  ### Model Details
28
 
29
+ - **Model Type:** Model_use_case.video_classification
30
  - **Model Stats:**
31
  - Model checkpoint: Kinetics-400
32
  - Input resolution: 112x112
33
  - Number of parameters: 33.4M
34
+ - Model size (float): 127 MB
35
+ - Model size (w8a8): 33.4 MB
36
 
37
+ | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
+ | ResNet-3D | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 112.481 ms | 29 - 56 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
40
+ | ResNet-3D | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 93.096 ms | 0 - 10 MB | NPU | Use Export Script |
41
+ | ResNet-3D | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 38.899 ms | 29 - 74 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
42
+ | ResNet-3D | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 28.604 ms | 2 - 65 MB | NPU | Use Export Script |
43
+ | ResNet-3D | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 23.388 ms | 5 - 856 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
44
+ | ResNet-3D | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 14.485 ms | 2 - 6 MB | NPU | Use Export Script |
45
+ | ResNet-3D | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 36.213 ms | 29 - 56 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
46
+ | ResNet-3D | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 25.614 ms | 2 - 16 MB | NPU | Use Export Script |
47
+ | ResNet-3D | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 112.481 ms | 29 - 56 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
48
+ | ResNet-3D | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 93.096 ms | 0 - 10 MB | NPU | Use Export Script |
49
+ | ResNet-3D | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 22.191 ms | 2 - 853 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
50
+ | ResNet-3D | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 14.616 ms | 2 - 4 MB | NPU | Use Export Script |
51
+ | ResNet-3D | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 40.76 ms | 29 - 57 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
52
+ | ResNet-3D | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 27.386 ms | 0 - 18 MB | NPU | Use Export Script |
53
+ | ResNet-3D | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 21.597 ms | 0 - 919 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
54
+ | ResNet-3D | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 14.729 ms | 2 - 5 MB | NPU | Use Export Script |
55
+ | ResNet-3D | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 36.213 ms | 29 - 56 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
56
+ | ResNet-3D | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 25.614 ms | 2 - 16 MB | NPU | Use Export Script |
57
+ | ResNet-3D | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 21.644 ms | 8 - 857 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
58
+ | ResNet-3D | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 14.559 ms | 2 - 20 MB | NPU | Use Export Script |
59
+ | ResNet-3D | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 15.091 ms | 0 - 134 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
60
+ | ResNet-3D | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 16.385 ms | 28 - 65 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
61
+ | ResNet-3D | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 10.517 ms | 2 - 73 MB | NPU | Use Export Script |
62
+ | ResNet-3D | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 11.522 ms | 2 - 56 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
63
+ | ResNet-3D | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 13.961 ms | 29 - 61 MB | NPU | [ResNet-3D.tflite](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.tflite) |
64
+ | ResNet-3D | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 10.497 ms | 2 - 58 MB | NPU | Use Export Script |
65
+ | ResNet-3D | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 9.504 ms | 0 - 44 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
66
+ | ResNet-3D | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 14.953 ms | 2 - 2 MB | NPU | Use Export Script |
67
+ | ResNet-3D | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 14.874 ms | 64 - 64 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D.onnx) |
68
+ | ResNet-3D | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 13.469 ms | 1 - 10 MB | NPU | Use Export Script |
69
+ | ResNet-3D | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 6.473 ms | 1 - 78 MB | NPU | Use Export Script |
70
+ | ResNet-3D | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 4.144 ms | 1 - 4 MB | NPU | Use Export Script |
71
+ | ResNet-3D | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 4.644 ms | 1 - 15 MB | NPU | Use Export Script |
72
+ | ResNet-3D | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 30.745 ms | 1 - 14 MB | NPU | Use Export Script |
73
+ | ResNet-3D | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 13.469 ms | 1 - 10 MB | NPU | Use Export Script |
74
+ | ResNet-3D | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 4.148 ms | 1 - 4 MB | NPU | Use Export Script |
75
+ | ResNet-3D | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 7.424 ms | 1 - 18 MB | NPU | Use Export Script |
76
+ | ResNet-3D | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 4.159 ms | 1 - 3 MB | NPU | Use Export Script |
77
+ | ResNet-3D | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 4.644 ms | 1 - 15 MB | NPU | Use Export Script |
78
+ | ResNet-3D | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 4.154 ms | 1 - 10 MB | NPU | Use Export Script |
79
+ | ResNet-3D | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 3.816 ms | 0 - 78 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D_w8a8.onnx) |
80
+ | ResNet-3D | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 3.041 ms | 1 - 77 MB | NPU | Use Export Script |
81
+ | ResNet-3D | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 2.754 ms | 0 - 77 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D_w8a8.onnx) |
82
+ | ResNet-3D | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 2.733 ms | 1 - 36 MB | NPU | Use Export Script |
83
+ | ResNet-3D | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 2.845 ms | 1 - 35 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D_w8a8.onnx) |
84
+ | ResNet-3D | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 4.431 ms | 1 - 1 MB | NPU | Use Export Script |
85
+ | ResNet-3D | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 4.325 ms | 33 - 33 MB | NPU | [ResNet-3D.onnx](https://huggingface.co/qualcomm/ResNet-3D/blob/main/ResNet-3D_w8a8.onnx) |
86
 
87
 
88
 
 
144
  Profiling Results
145
  ------------------------------------------------------------
146
  ResNet-3D
147
+ Device : cs_8275 (ANDROID 14)
148
+ Runtime : TFLITE
149
+ Estimated inference time (ms) : 112.5
150
+ Estimated peak memory usage (MB): [29, 56]
151
+ Total # Ops : 57
152
+ Compute Unit(s) : npu (53 ops) gpu (0 ops) cpu (4 ops)
153
  ```
154
 
155