Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -34,39 +34,39 @@ More details on model performance across various devices, can be found
|
|
34 |
|
35 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
36 |
|---|---|---|---|---|---|---|---|---|
|
37 |
-
| XLSR | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 2.
|
38 |
-
| XLSR | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.
|
39 |
-
| XLSR | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 1.
|
40 |
-
| XLSR | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 1.
|
41 |
-
| XLSR | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.
|
42 |
-
| XLSR | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.
|
43 |
-
| XLSR | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 1.
|
44 |
-
| XLSR | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.
|
45 |
-
| XLSR | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX |
|
46 |
-
| XLSR | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 2.
|
47 |
-
| XLSR | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.
|
48 |
-
| XLSR | SA7255P ADP | SA7255P | TFLITE | 16.
|
49 |
-
| XLSR | SA7255P ADP | SA7255P | QNN | 11.
|
50 |
-
| XLSR | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 2.
|
51 |
-
| XLSR | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.
|
52 |
-
| XLSR | SA8295P ADP | SA8295P | TFLITE |
|
53 |
-
| XLSR | SA8295P ADP | SA8295P | QNN | 1.
|
54 |
-
| XLSR | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 2.
|
55 |
-
| XLSR | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.
|
56 |
-
| XLSR | SA8775P ADP | SA8775P | TFLITE | 4.
|
57 |
-
| XLSR | SA8775P ADP | SA8775P | QNN | 1.
|
58 |
-
| XLSR | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE |
|
59 |
-
| XLSR | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 1.
|
60 |
-
| XLSR | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN |
|
61 |
-
| XLSR | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
## Installation
|
67 |
|
68 |
-
This model can be installed as a Python package via pip.
|
69 |
|
|
|
70 |
```bash
|
71 |
pip install qai-hub-models
|
72 |
```
|
@@ -122,8 +122,8 @@ Profiling Results
|
|
122 |
XLSR
|
123 |
Device : Samsung Galaxy S23 (13)
|
124 |
Runtime : TFLITE
|
125 |
-
Estimated inference time (ms) : 2.
|
126 |
-
Estimated peak memory usage (MB): [0,
|
127 |
Total # Ops : 16
|
128 |
Compute Unit(s) : NPU (13 ops) CPU (3 ops)
|
129 |
```
|
@@ -150,7 +150,7 @@ from qai_hub_models.models.xlsr import Model
|
|
150 |
torch_model = Model.from_pretrained()
|
151 |
|
152 |
# Device
|
153 |
-
device = hub.Device("Samsung Galaxy
|
154 |
|
155 |
# Trace model
|
156 |
input_shape = torch_model.get_input_spec()
|
@@ -242,7 +242,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
|
242 |
|
243 |
|
244 |
## License
|
245 |
-
* The license for the original implementation of XLSR can be found
|
|
|
246 |
* 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)
|
247 |
|
248 |
|
|
|
34 |
|
35 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
36 |
|---|---|---|---|---|---|---|---|---|
|
37 |
+
| XLSR | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 2.61 ms | 0 - 12 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
38 |
+
| XLSR | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.978 ms | 0 - 7 MB | FP16 | NPU | [XLSR.so](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.so) |
|
39 |
+
| XLSR | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 1.516 ms | 0 - 8 MB | FP16 | NPU | [XLSR.onnx](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.onnx) |
|
40 |
+
| XLSR | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 1.723 ms | 0 - 23 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
41 |
+
| XLSR | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.627 ms | 0 - 21 MB | FP16 | NPU | [XLSR.so](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.so) |
|
42 |
+
| XLSR | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.049 ms | 0 - 23 MB | FP16 | NPU | [XLSR.onnx](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.onnx) |
|
43 |
+
| XLSR | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 1.969 ms | 0 - 16 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
44 |
+
| XLSR | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.574 ms | 0 - 17 MB | FP16 | NPU | Use Export Script |
|
45 |
+
| XLSR | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 0.838 ms | 0 - 16 MB | FP16 | NPU | [XLSR.onnx](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.onnx) |
|
46 |
+
| XLSR | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 2.602 ms | 0 - 9 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
47 |
+
| XLSR | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.907 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
|
48 |
+
| XLSR | SA7255P ADP | SA7255P | TFLITE | 16.749 ms | 3 - 14 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
49 |
+
| XLSR | SA7255P ADP | SA7255P | QNN | 11.605 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
|
50 |
+
| XLSR | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 2.54 ms | 0 - 12 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
51 |
+
| XLSR | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.916 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
|
52 |
+
| XLSR | SA8295P ADP | SA8295P | TFLITE | 4.445 ms | 6 - 22 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
53 |
+
| XLSR | SA8295P ADP | SA8295P | QNN | 1.778 ms | 0 - 15 MB | FP16 | NPU | Use Export Script |
|
54 |
+
| XLSR | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 2.559 ms | 0 - 9 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
55 |
+
| XLSR | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.968 ms | 0 - 2 MB | FP16 | NPU | Use Export Script |
|
56 |
+
| XLSR | SA8775P ADP | SA8775P | TFLITE | 4.25 ms | 6 - 16 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
57 |
+
| XLSR | SA8775P ADP | SA8775P | QNN | 1.859 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
|
58 |
+
| XLSR | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 5.348 ms | 6 - 26 MB | FP16 | NPU | [XLSR.tflite](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.tflite) |
|
59 |
+
| XLSR | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 1.295 ms | 0 - 17 MB | FP16 | NPU | Use Export Script |
|
60 |
+
| XLSR | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.992 ms | 0 - 0 MB | FP16 | NPU | Use Export Script |
|
61 |
+
| XLSR | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.526 ms | 9 - 9 MB | FP16 | NPU | [XLSR.onnx](https://huggingface.co/qualcomm/XLSR/blob/main/XLSR.onnx) |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
## Installation
|
67 |
|
|
|
68 |
|
69 |
+
Install the package via pip:
|
70 |
```bash
|
71 |
pip install qai-hub-models
|
72 |
```
|
|
|
122 |
XLSR
|
123 |
Device : Samsung Galaxy S23 (13)
|
124 |
Runtime : TFLITE
|
125 |
+
Estimated inference time (ms) : 2.6
|
126 |
+
Estimated peak memory usage (MB): [0, 12]
|
127 |
Total # Ops : 16
|
128 |
Compute Unit(s) : NPU (13 ops) CPU (3 ops)
|
129 |
```
|
|
|
150 |
torch_model = Model.from_pretrained()
|
151 |
|
152 |
# Device
|
153 |
+
device = hub.Device("Samsung Galaxy S24")
|
154 |
|
155 |
# Trace model
|
156 |
input_shape = torch_model.get_input_spec()
|
|
|
242 |
|
243 |
|
244 |
## License
|
245 |
+
* The license for the original implementation of XLSR can be found
|
246 |
+
[here](https://github.com/quic/aimet-model-zoo/blob/develop/LICENSE.pdf).
|
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 |
|