qaihm-bot commited on
Commit
1d15e1e
·
verified ·
1 Parent(s): b5bde69

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +69 -38
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,75 @@ More details on model performance across various devices, can be found
26
 
27
  ### Model Details
28
 
29
- - **Model Type:** Image classification
30
  - **Model Stats:**
31
  - Model checkpoint: Imagenet
32
  - Input resolution: 224x224
33
  - Number of parameters: 86.6M
34
  - Model size: 330 MB
35
 
36
- | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
37
  |---|---|---|---|---|---|---|---|---|
38
- | VIT | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 13.158 ms | 0 - 16 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
39
- | VIT | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 14.8 ms | 0 - 24 MB | FP16 | NPU | [VIT.so](https://huggingface.co/qualcomm/VIT/blob/main/VIT.so) |
40
- | VIT | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 13.439 ms | 0 - 354 MB | FP16 | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
41
- | VIT | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 9.057 ms | 0 - 283 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
42
- | VIT | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 10.257 ms | 1 - 295 MB | FP16 | NPU | [VIT.so](https://huggingface.co/qualcomm/VIT/blob/main/VIT.so) |
43
- | VIT | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 9.51 ms | 1 - 309 MB | FP16 | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
44
- | VIT | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 7.032 ms | 0 - 282 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
45
- | VIT | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 8.894 ms | 1 - 292 MB | FP16 | NPU | Use Export Script |
46
- | VIT | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 7.915 ms | 1 - 287 MB | FP16 | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
47
- | VIT | SA7255P ADP | SA7255P | TFLITE | 249.876 ms | 0 - 279 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
48
- | VIT | SA7255P ADP | SA7255P | QNN | 250.003 ms | 1 - 10 MB | FP16 | NPU | Use Export Script |
49
- | VIT | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 12.811 ms | 0 - 26 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
50
- | VIT | SA8255 (Proxy) | SA8255P Proxy | QNN | 13.907 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
51
- | VIT | SA8295P ADP | SA8295P | TFLITE | 20.997 ms | 0 - 279 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
52
- | VIT | SA8295P ADP | SA8295P | QNN | 20.404 ms | 1 - 18 MB | FP16 | NPU | Use Export Script |
53
- | VIT | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 12.765 ms | 0 - 12 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
54
- | VIT | SA8650 (Proxy) | SA8650P Proxy | QNN | 13.923 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
55
- | VIT | SA8775P ADP | SA8775P | TFLITE | 19.792 ms | 0 - 279 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
56
- | VIT | SA8775P ADP | SA8775P | QNN | 20.51 ms | 0 - 9 MB | FP16 | NPU | Use Export Script |
57
- | VIT | QCS8275 (Proxy) | QCS8275 Proxy | TFLITE | 249.876 ms | 0 - 279 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
58
- | VIT | QCS8275 (Proxy) | QCS8275 Proxy | QNN | 250.003 ms | 1 - 10 MB | FP16 | NPU | Use Export Script |
59
- | VIT | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 12.757 ms | 0 - 14 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
60
- | VIT | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 13.92 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
61
- | VIT | QCS9075 (Proxy) | QCS9075 Proxy | TFLITE | 19.792 ms | 0 - 279 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
62
- | VIT | QCS9075 (Proxy) | QCS9075 Proxy | QNN | 20.51 ms | 0 - 9 MB | FP16 | NPU | Use Export Script |
63
- | VIT | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 18.827 ms | 0 - 289 MB | FP16 | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
64
- | VIT | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 20.529 ms | 0 - 300 MB | FP16 | NPU | Use Export Script |
65
- | VIT | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 14.774 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
66
- | VIT | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 14.984 ms | 171 - 171 MB | FP16 | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
 
69
 
@@ -125,12 +156,12 @@ python -m qai_hub_models.models.vit.export
125
  Profiling Results
126
  ------------------------------------------------------------
127
  VIT
128
- Device : Samsung Galaxy S23 (13)
129
- Runtime : TFLITE
130
- Estimated inference time (ms) : 13.2
131
- Estimated peak memory usage (MB): [0, 16]
132
- Total # Ops : 1579
133
- Compute Unit(s) : NPU (1579 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.image_classification
30
  - **Model Stats:**
31
  - Model checkpoint: Imagenet
32
  - Input resolution: 224x224
33
  - Number of parameters: 86.6M
34
  - Model size: 330 MB
35
 
36
+ | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
37
  |---|---|---|---|---|---|---|---|---|
38
+ | VIT | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 44.406 ms | 0 - 279 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
39
+ | VIT | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 45.484 ms | 0 - 9 MB | NPU | Use Export Script |
40
+ | VIT | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 18.824 ms | 0 - 292 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
41
+ | VIT | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 21.384 ms | 1 - 305 MB | NPU | Use Export Script |
42
+ | VIT | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 12.787 ms | 0 - 23 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
43
+ | VIT | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 13.861 ms | 1 - 3 MB | NPU | Use Export Script |
44
+ | VIT | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 16.109 ms | 0 - 279 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
45
+ | VIT | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 16.858 ms | 1 - 10 MB | NPU | Use Export Script |
46
+ | VIT | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 44.406 ms | 0 - 279 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
47
+ | VIT | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 45.484 ms | 0 - 9 MB | NPU | Use Export Script |
48
+ | VIT | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 13.19 ms | 0 - 12 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
49
+ | VIT | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 13.929 ms | 1 - 3 MB | NPU | Use Export Script |
50
+ | VIT | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 21.032 ms | 3 - 283 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
51
+ | VIT | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 20.442 ms | 1 - 18 MB | NPU | Use Export Script |
52
+ | VIT | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 12.834 ms | 0 - 23 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
53
+ | VIT | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 13.858 ms | 1 - 3 MB | NPU | Use Export Script |
54
+ | VIT | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 16.109 ms | 0 - 279 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
55
+ | VIT | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 16.858 ms | 1 - 10 MB | NPU | Use Export Script |
56
+ | VIT | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 12.778 ms | 0 - 12 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
57
+ | VIT | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 13.808 ms | 0 - 28 MB | NPU | Use Export Script |
58
+ | VIT | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 13.445 ms | 0 - 387 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
59
+ | VIT | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 9.089 ms | 0 - 286 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
60
+ | VIT | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 9.731 ms | 1 - 309 MB | NPU | Use Export Script |
61
+ | VIT | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 9.489 ms | 0 - 308 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
62
+ | VIT | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 8.282 ms | 0 - 282 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT.tflite) |
63
+ | VIT | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 6.789 ms | 1 - 285 MB | NPU | Use Export Script |
64
+ | VIT | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 7.998 ms | 0 - 286 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
65
+ | VIT | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 14.767 ms | 1 - 1 MB | NPU | Use Export Script |
66
+ | VIT | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 15.002 ms | 171 - 171 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT.onnx) |
67
+ | VIT | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 18.346 ms | 0 - 46 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
68
+ | VIT | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 30.664 ms | 0 - 10 MB | NPU | Use Export Script |
69
+ | VIT | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 14.0 ms | 0 - 56 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
70
+ | VIT | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 14.722 ms | 0 - 159 MB | NPU | Use Export Script |
71
+ | VIT | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 8.888 ms | 0 - 24 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
72
+ | VIT | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 10.769 ms | 0 - 3 MB | NPU | Use Export Script |
73
+ | VIT | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 9.166 ms | 0 - 47 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
74
+ | VIT | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 9.673 ms | 0 - 10 MB | NPU | Use Export Script |
75
+ | VIT | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 81.458 ms | 2 - 41 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
76
+ | VIT | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 79.044 ms | 0 - 12 MB | NPU | Use Export Script |
77
+ | VIT | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 18.346 ms | 0 - 46 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
78
+ | VIT | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 30.664 ms | 0 - 10 MB | NPU | Use Export Script |
79
+ | VIT | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 8.897 ms | 0 - 22 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
80
+ | VIT | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 10.857 ms | 0 - 2 MB | NPU | Use Export Script |
81
+ | VIT | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 15.983 ms | 0 - 50 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
82
+ | VIT | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 16.852 ms | 0 - 18 MB | NPU | Use Export Script |
83
+ | VIT | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 8.805 ms | 0 - 23 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
84
+ | VIT | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 10.793 ms | 0 - 2 MB | NPU | Use Export Script |
85
+ | VIT | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 9.166 ms | 0 - 47 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
86
+ | VIT | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 9.673 ms | 0 - 10 MB | NPU | Use Export Script |
87
+ | VIT | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 8.815 ms | 0 - 24 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
88
+ | VIT | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 10.727 ms | 0 - 29 MB | NPU | Use Export Script |
89
+ | VIT | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 25.234 ms | 0 - 135 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.onnx) |
90
+ | VIT | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 6.32 ms | 0 - 53 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
91
+ | VIT | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 7.131 ms | 0 - 150 MB | NPU | Use Export Script |
92
+ | VIT | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 17.304 ms | 0 - 177 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.onnx) |
93
+ | VIT | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 5.902 ms | 0 - 50 MB | NPU | [VIT.tflite](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.tflite) |
94
+ | VIT | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 6.224 ms | 0 - 146 MB | NPU | Use Export Script |
95
+ | VIT | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 17.234 ms | 0 - 170 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.onnx) |
96
+ | VIT | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 11.294 ms | 0 - 0 MB | NPU | Use Export Script |
97
+ | VIT | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 29.334 ms | 88 - 88 MB | NPU | [VIT.onnx](https://huggingface.co/qualcomm/VIT/blob/main/VIT_w8a8.onnx) |
98
 
99
 
100
 
 
156
  Profiling Results
157
  ------------------------------------------------------------
158
  VIT
159
+ Device : cs_8275 (ANDROID 14)
160
+ Runtime : TFLITE
161
+ Estimated inference time (ms) : 44.4
162
+ Estimated peak memory usage (MB): [0, 279]
163
+ Total # Ops : 1579
164
+ Compute Unit(s) : npu (1579 ops) gpu (0 ops) cpu (0 ops)
165
  ```
166
 
167