Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -36,42 +36,42 @@ More details on model performance across various devices, can be found
|
|
36 |
|
37 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
38 |
|---|---|---|---|---|---|---|---|---|
|
39 |
-
| ResNet101Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 1.
|
40 |
-
| ResNet101Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 1.
|
41 |
-
| ResNet101Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 2.
|
42 |
-
| ResNet101Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.
|
43 |
-
| ResNet101Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 1.
|
44 |
-
| ResNet101Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.
|
45 |
-
| ResNet101Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.
|
46 |
-
| ResNet101Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.
|
47 |
-
| ResNet101Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.
|
48 |
-
| ResNet101Quantized | RB3 Gen 2 (Proxy) | QCS6490 Proxy | TFLITE | 4.
|
49 |
-
| ResNet101Quantized | RB3 Gen 2 (Proxy) | QCS6490 Proxy | QNN | 6.
|
50 |
-
| ResNet101Quantized | RB5 (Proxy) | QCS8250 Proxy | TFLITE | 17.
|
51 |
-
| ResNet101Quantized | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 1.
|
52 |
| ResNet101Quantized | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 1.325 ms | 0 - 3 MB | INT8 | NPU | Use Export Script |
|
53 |
-
| ResNet101Quantized | SA7255P ADP | SA7255P | TFLITE |
|
54 |
-
| ResNet101Quantized | SA7255P ADP | SA7255P | QNN | 16.
|
55 |
-
| ResNet101Quantized | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 1.
|
56 |
-
| ResNet101Quantized | SA8255 (Proxy) | SA8255P Proxy | QNN | 1.
|
57 |
-
| ResNet101Quantized | SA8295P ADP | SA8295P | TFLITE | 1.
|
58 |
-
| ResNet101Quantized | SA8295P ADP | SA8295P | QNN | 2.
|
59 |
-
| ResNet101Quantized | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 1.167 ms | 0 -
|
60 |
-
| ResNet101Quantized | SA8650 (Proxy) | SA8650P Proxy | QNN | 1.
|
61 |
| ResNet101Quantized | SA8775P ADP | SA8775P | TFLITE | 1.452 ms | 0 - 22 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
62 |
-
| ResNet101Quantized | SA8775P ADP | SA8775P | QNN | 1.
|
63 |
-
| ResNet101Quantized | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 1.
|
64 |
-
| ResNet101Quantized | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 1.
|
65 |
-
| ResNet101Quantized | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.
|
66 |
-
| ResNet101Quantized | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
## Installation
|
72 |
|
73 |
-
This model can be installed as a Python package via pip.
|
74 |
|
|
|
75 |
```bash
|
76 |
pip install qai-hub-models
|
77 |
```
|
@@ -155,7 +155,7 @@ from qai_hub_models.models.resnet101_quantized import Model
|
|
155 |
torch_model = Model.from_pretrained()
|
156 |
|
157 |
# Device
|
158 |
-
device = hub.Device("Samsung Galaxy
|
159 |
|
160 |
# Trace model
|
161 |
input_shape = torch_model.get_input_spec()
|
@@ -247,7 +247,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
|
247 |
|
248 |
|
249 |
## License
|
250 |
-
* The license for the original implementation of ResNet101Quantized can be found
|
|
|
251 |
* The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
|
252 |
|
253 |
|
|
|
36 |
|
37 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
38 |
|---|---|---|---|---|---|---|---|---|
|
39 |
+
| ResNet101Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 1.167 ms | 0 - 56 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
40 |
+
| ResNet101Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 1.389 ms | 0 - 56 MB | INT8 | NPU | [ResNet101Quantized.so](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.so) |
|
41 |
+
| ResNet101Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 2.115 ms | 0 - 84 MB | INT8 | NPU | [ResNet101Quantized.onnx](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.onnx) |
|
42 |
+
| ResNet101Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.875 ms | 0 - 45 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
43 |
+
| ResNet101Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 1.061 ms | 0 - 28 MB | INT8 | NPU | [ResNet101Quantized.so](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.so) |
|
44 |
+
| ResNet101Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.656 ms | 0 - 61 MB | INT8 | NPU | [ResNet101Quantized.onnx](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.onnx) |
|
45 |
+
| ResNet101Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.819 ms | 0 - 33 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
46 |
+
| ResNet101Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.887 ms | 0 - 34 MB | INT8 | NPU | Use Export Script |
|
47 |
+
| ResNet101Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.558 ms | 0 - 46 MB | INT8 | NPU | [ResNet101Quantized.onnx](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.onnx) |
|
48 |
+
| ResNet101Quantized | RB3 Gen 2 (Proxy) | QCS6490 Proxy | TFLITE | 4.489 ms | 0 - 30 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
49 |
+
| ResNet101Quantized | RB3 Gen 2 (Proxy) | QCS6490 Proxy | QNN | 6.394 ms | 0 - 11 MB | INT8 | NPU | Use Export Script |
|
50 |
+
| ResNet101Quantized | RB5 (Proxy) | QCS8250 Proxy | TFLITE | 17.737 ms | 0 - 12 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
51 |
+
| ResNet101Quantized | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 1.153 ms | 0 - 46 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
52 |
| ResNet101Quantized | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 1.325 ms | 0 - 3 MB | INT8 | NPU | Use Export Script |
|
53 |
+
| ResNet101Quantized | SA7255P ADP | SA7255P | TFLITE | 15.874 ms | 0 - 22 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
54 |
+
| ResNet101Quantized | SA7255P ADP | SA7255P | QNN | 16.678 ms | 0 - 9 MB | INT8 | NPU | Use Export Script |
|
55 |
+
| ResNet101Quantized | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 1.172 ms | 0 - 46 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
56 |
+
| ResNet101Quantized | SA8255 (Proxy) | SA8255P Proxy | QNN | 1.327 ms | 0 - 3 MB | INT8 | NPU | Use Export Script |
|
57 |
+
| ResNet101Quantized | SA8295P ADP | SA8295P | TFLITE | 1.768 ms | 0 - 29 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
58 |
+
| ResNet101Quantized | SA8295P ADP | SA8295P | QNN | 2.63 ms | 0 - 14 MB | INT8 | NPU | Use Export Script |
|
59 |
+
| ResNet101Quantized | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 1.167 ms | 0 - 56 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
60 |
+
| ResNet101Quantized | SA8650 (Proxy) | SA8650P Proxy | QNN | 1.328 ms | 0 - 3 MB | INT8 | NPU | Use Export Script |
|
61 |
| ResNet101Quantized | SA8775P ADP | SA8775P | TFLITE | 1.452 ms | 0 - 22 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
62 |
+
| ResNet101Quantized | SA8775P ADP | SA8775P | QNN | 1.83 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
|
63 |
+
| ResNet101Quantized | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 1.361 ms | 0 - 41 MB | INT8 | NPU | [ResNet101Quantized.tflite](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.tflite) |
|
64 |
+
| ResNet101Quantized | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 1.603 ms | 0 - 30 MB | INT8 | NPU | Use Export Script |
|
65 |
+
| ResNet101Quantized | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.359 ms | 0 - 0 MB | INT8 | NPU | Use Export Script |
|
66 |
+
| ResNet101Quantized | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 2.173 ms | 48 - 48 MB | INT8 | NPU | [ResNet101Quantized.onnx](https://huggingface.co/qualcomm/ResNet101Quantized/blob/main/ResNet101Quantized.onnx) |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
## Installation
|
72 |
|
|
|
73 |
|
74 |
+
Install the package via pip:
|
75 |
```bash
|
76 |
pip install qai-hub-models
|
77 |
```
|
|
|
155 |
torch_model = Model.from_pretrained()
|
156 |
|
157 |
# Device
|
158 |
+
device = hub.Device("Samsung Galaxy S24")
|
159 |
|
160 |
# Trace model
|
161 |
input_shape = torch_model.get_input_spec()
|
|
|
247 |
|
248 |
|
249 |
## License
|
250 |
+
* The license for the original implementation of ResNet101Quantized can be found
|
251 |
+
[here](https://github.com/pytorch/vision/blob/main/LICENSE).
|
252 |
* The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
|
253 |
|
254 |
|