qaihm-bot commited on
Commit
f0061b4
·
verified ·
1 Parent(s): a349899

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +29 -28
README.md CHANGED
@@ -35,39 +35,39 @@ More details on model performance across various devices, can be found
35
 
36
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
37
  |---|---|---|---|---|---|---|---|---|
38
- | ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 2.273 ms | 0 - 244 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
39
- | ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 2.394 ms | 1 - 174 MB | FP16 | NPU | [ResNet50.so](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.so) |
40
- | ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 2.331 ms | 0 - 257 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
41
- | ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 1.614 ms | 0 - 31 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
42
- | ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 1.694 ms | 0 - 30 MB | FP16 | NPU | [ResNet50.so](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.so) |
43
- | ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.702 ms | 0 - 34 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
44
- | ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 1.367 ms | 0 - 28 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
45
- | ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 1.665 ms | 0 - 27 MB | FP16 | NPU | Use Export Script |
46
- | ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.461 ms | 1 - 27 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
47
- | ResNet50 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 2.266 ms | 0 - 244 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
48
- | ResNet50 | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 2.171 ms | 1 - 4 MB | FP16 | NPU | Use Export Script |
49
- | ResNet50 | SA7255P ADP | SA7255P | TFLITE | 76.306 ms | 0 - 23 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
50
- | ResNet50 | SA7255P ADP | SA7255P | QNN | 77.507 ms | 1 - 9 MB | FP16 | NPU | Use Export Script |
51
- | ResNet50 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 2.269 ms | 0 - 244 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
52
- | ResNet50 | SA8255 (Proxy) | SA8255P Proxy | QNN | 2.18 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
53
- | ResNet50 | SA8295P ADP | SA8295P | TFLITE | 3.769 ms | 0 - 20 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
54
- | ResNet50 | SA8295P ADP | SA8295P | QNN | 4.086 ms | 0 - 14 MB | FP16 | NPU | Use Export Script |
55
- | ResNet50 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 2.272 ms | 0 - 244 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
56
- | ResNet50 | SA8650 (Proxy) | SA8650P Proxy | QNN | 2.183 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
57
- | ResNet50 | SA8775P ADP | SA8775P | TFLITE | 4.1 ms | 0 - 23 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
58
- | ResNet50 | SA8775P ADP | SA8775P | QNN | 4.241 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
59
- | ResNet50 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 3.071 ms | 0 - 23 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
60
- | ResNet50 | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 3.117 ms | 1 - 21 MB | FP16 | NPU | Use Export Script |
61
- | ResNet50 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 2.297 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
62
- | ResNet50 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 2.307 ms | 50 - 50 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
63
 
64
 
65
 
66
 
67
  ## Installation
68
 
69
- This model can be installed as a Python package via pip.
70
 
 
71
  ```bash
72
  pip install qai-hub-models
73
  ```
@@ -151,7 +151,7 @@ from qai_hub_models.models.resnet50 import Model
151
  torch_model = Model.from_pretrained()
152
 
153
  # Device
154
- device = hub.Device("Samsung Galaxy S23")
155
 
156
  # Trace model
157
  input_shape = torch_model.get_input_spec()
@@ -243,7 +243,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
243
 
244
 
245
  ## License
246
- * The license for the original implementation of ResNet50 can be found [here](https://github.com/pytorch/vision/blob/main/LICENSE).
 
247
  * 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)
248
 
249
 
 
35
 
36
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
37
  |---|---|---|---|---|---|---|---|---|
38
+ | ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 2.269 ms | 0 - 244 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
39
+ | ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 2.383 ms | 0 - 173 MB | FP16 | NPU | [ResNet50.so](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.so) |
40
+ | ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 2.298 ms | 0 - 238 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
41
+ | ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 1.615 ms | 0 - 29 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
42
+ | ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 1.689 ms | 1 - 30 MB | FP16 | NPU | [ResNet50.so](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.so) |
43
+ | ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.727 ms | 0 - 33 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
44
+ | ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 1.346 ms | 0 - 27 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
45
+ | ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 1.623 ms | 1 - 28 MB | FP16 | NPU | Use Export Script |
46
+ | ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.669 ms | 1 - 28 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
47
+ | ResNet50 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 2.273 ms | 0 - 243 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
48
+ | ResNet50 | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 2.186 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
49
+ | ResNet50 | SA7255P ADP | SA7255P | TFLITE | 76.179 ms | 0 - 23 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
50
+ | ResNet50 | SA7255P ADP | SA7255P | QNN | 77.365 ms | 1 - 9 MB | FP16 | NPU | Use Export Script |
51
+ | ResNet50 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 2.274 ms | 0 - 244 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
52
+ | ResNet50 | SA8255 (Proxy) | SA8255P Proxy | QNN | 2.188 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
53
+ | ResNet50 | SA8295P ADP | SA8295P | TFLITE | 3.777 ms | 0 - 21 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
54
+ | ResNet50 | SA8295P ADP | SA8295P | QNN | 4.04 ms | 0 - 14 MB | FP16 | NPU | Use Export Script |
55
+ | ResNet50 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 2.273 ms | 0 - 243 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
56
+ | ResNet50 | SA8650 (Proxy) | SA8650P Proxy | QNN | 2.179 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
57
+ | ResNet50 | SA8775P ADP | SA8775P | TFLITE | 4.149 ms | 0 - 23 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
58
+ | ResNet50 | SA8775P ADP | SA8775P | QNN | 4.215 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
59
+ | ResNet50 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 3.096 ms | 0 - 24 MB | FP16 | NPU | [ResNet50.tflite](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.tflite) |
60
+ | ResNet50 | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 3.137 ms | 1 - 20 MB | FP16 | NPU | Use Export Script |
61
+ | ResNet50 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 2.328 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
62
+ | ResNet50 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 2.334 ms | 51 - 51 MB | FP16 | NPU | [ResNet50.onnx](https://huggingface.co/qualcomm/ResNet50/blob/main/ResNet50.onnx) |
63
 
64
 
65
 
66
 
67
  ## Installation
68
 
 
69
 
70
+ Install the package via pip:
71
  ```bash
72
  pip install qai-hub-models
73
  ```
 
151
  torch_model = Model.from_pretrained()
152
 
153
  # Device
154
+ device = hub.Device("Samsung Galaxy S24")
155
 
156
  # Trace model
157
  input_shape = torch_model.get_input_spec()
 
243
 
244
 
245
  ## License
246
+ * The license for the original implementation of ResNet50 can be found
247
+ [here](https://github.com/pytorch/vision/blob/main/LICENSE).
248
  * 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)
249
 
250