Upload README.md with huggingface_hub
Browse files34 unmodified lines35363738394041424344454647484950515253545556575859606162636465666768697071727374757677787944 unmodified lines12412512612712812913013120 unmodified lines15215315415515615715885 unmodified lines24424524624724824925034 unmodified lines| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model|---|---|---|---|---|---|---|---|---|| Beit | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 16.934 ms | 0 - 50 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 25.244 ms | 0 - 48 MB | FP16 | NPU | [Beit.so](https://huggingface.co/qualcomm/Beit/blob/main/Beit.so) || Beit | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 18.093 ms | 0 - 383 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) || Beit | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 11.698 ms | 0 - 59 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 17.516 ms | 1 - 61 MB | FP16 | NPU | [Beit.so](https://huggingface.co/qualcomm/Beit/blob/main/Beit.so) || Beit | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 13.918 ms | 1 - 59 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) || Beit | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 9.485 ms | 0 - 65 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 17.858 ms | 1 - 65 MB | FP16 | NPU | Use Export Script || Beit | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 13.313 ms | 0 - 52 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) || Beit | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 16.921 ms | 0 - 46 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 17.447 ms | 1 - 4 MB | FP16 | NPU | Use Export Script || Beit | SA7255P ADP | SA7255P | TFLITE | 260.85 ms | 0 - 61 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA7255P ADP | SA7255P | QNN | 268.701 ms | 1 - 10 MB | FP16 | NPU | Use Export Script || Beit | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 16.974 ms | 0 - 48 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8255 (Proxy) | SA8255P Proxy | QNN | 17.494 ms | 1 - 3 MB | FP16 | NPU | Use Export Script || Beit | SA8295P ADP | SA8295P | TFLITE | 24.519 ms | 0 - 58 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8295P ADP | SA8295P | QNN | 30.245 ms | 1 - 15 MB | FP16 | NPU | Use Export Script || Beit | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 16.688 ms | 0 - 45 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8650 (Proxy) | SA8650P Proxy | QNN | 17.472 ms | 1 - 3 MB | FP16 | NPU | Use Export Script || Beit | SA8775P ADP | SA8775P | TFLITE | 24.491 ms | 0 - 60 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8775P ADP | SA8775P | QNN | 25.456 ms | 1 - 10 MB | FP16 | NPU | Use Export Script || Beit | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 21.814 ms | 0 - 58 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 31.586 ms | 1 - 57 MB | FP16 | NPU | Use Export Script || Beit | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 18.5 ms | 1 - 1 MB | FP16 | NPU | Use Export Script || Beit | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 21.661 ms | 187 - 187 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) |## InstallationThis model can be installed as a Python package via pip.```bashpip install "qai-hub-models[beit]"```## Configure Qualcomm® AI Hub to run this model on a cloud-hosted deviceSign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your44 unmodified linesBeitDevice : Samsung Galaxy S23 (13)Runtime : TFLITEEstimated inference time (ms) : 16.9Estimated peak memory usage (MB): [0, 50]Total # Ops : 557Compute Unit(s) : NPU (557 ops)```20 unmodified linestorch_model = Model.from_pretrained()# Devicedevice = hub.Device("Samsung Galaxy S23")# Trace modelinput_shape = torch_model.get_input_spec()85 unmodified lines## License* The license for the original implementation of Beit can be found [here](https://github.com/pytorch/vision/blob/main/LICENSE).* 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)34 unmodified lines353637383940414243444546474849505152535455565758596061626364656667686970717273747576777844 unmodified lines12312412512612712812913020 unmodified lines15115215315415515615785 unmodified lines24324424524624724824925034 unmodified lines| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model|---|---|---|---|---|---|---|---|---|| Beit | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 16.993 ms | 0 - 47 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 25.154 ms | 0 - 47 MB | FP16 | NPU | [Beit.so](https://huggingface.co/qualcomm/Beit/blob/main/Beit.so) || Beit | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 18.065 ms | 0 - 383 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) || Beit | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 11.704 ms | 0 - 56 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 17.476 ms | 1 - 60 MB | FP16 | NPU | [Beit.so](https://huggingface.co/qualcomm/Beit/blob/main/Beit.so) || Beit | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 13.822 ms | 1 - 60 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) || Beit | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 11.494 ms | 0 - 64 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 17.732 ms | 1 - 66 MB | FP16 | NPU | Use Export Script || Beit | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 13.325 ms | 1 - 54 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) || Beit | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 16.951 ms | 0 - 46 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 17.474 ms | 1 - 3 MB | FP16 | NPU | Use Export Script || Beit | SA7255P ADP | SA7255P | TFLITE | 260.795 ms | 0 - 61 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA7255P ADP | SA7255P | QNN | 268.685 ms | 1 - 10 MB | FP16 | NPU | Use Export Script || Beit | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 16.615 ms | 0 - 43 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8255 (Proxy) | SA8255P Proxy | QNN | 17.502 ms | 1 - 3 MB | FP16 | NPU | Use Export Script || Beit | SA8295P ADP | SA8295P | TFLITE | 24.573 ms | 0 - 57 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8295P ADP | SA8295P | QNN | 30.18 ms | 1 - 14 MB | FP16 | NPU | Use Export Script || Beit | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 16.956 ms | 0 - 50 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8650 (Proxy) | SA8650P Proxy | QNN | 17.478 ms | 1 - 3 MB | FP16 | NPU | Use Export Script || Beit | SA8775P ADP | SA8775P | TFLITE | 24.481 ms | 0 - 60 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | SA8775P ADP | SA8775P | QNN | 25.454 ms | 1 - 10 MB | FP16 | NPU | Use Export Script || Beit | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 21.853 ms | 0 - 57 MB | FP16 | NPU | [Beit.tflite](https://huggingface.co/qualcomm/Beit/blob/main/Beit.tflite) || Beit | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 31.888 ms | 1 - 56 MB | FP16 | NPU | Use Export Script || Beit | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 18.5 ms | 1 - 1 MB | FP16 | NPU | Use Export Script || Beit | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 21.681 ms | 187 - 187 MB | FP16 | NPU | [Beit.onnx](https://huggingface.co/qualcomm/Beit/blob/main/Beit.onnx) |## InstallationInstall the package via pip:```bashpip install "qai-hub-models[beit]"```## Configure Qualcomm® AI Hub to run this model on a cloud-hosted deviceSign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your44 unmodified linesBeitDevice : Samsung Galaxy S23 (13)Runtime : TFLITEEstimated inference time (ms) : 17.0Estimated peak memory usage (MB): [0, 47]Total # Ops : 557Compute Unit(s) : NPU (557 ops)```20 unmodified linestorch_model = Model.from_pretrained()# Devicedevice = hub.Device("Samsung Galaxy S24")# Trace modelinput_shape = torch_model.get_input_spec()85 unmodified lines## License* The license for the original implementation of Beit can be found[here](https://github.com/pytorch/vision/blob/main/LICENSE).* 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)
README.md+30-30