Upload README.md with huggingface_hub
Browse files34 unmodified lines3536373839404142434445463839404142434445464748495057 unmodified lines10810911011011111111211311411514 unmodified lines13013113213213313413513613713813914014114214314414514614714814915015115215315415515615715834 unmodified lines
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model|---|---|---|---|---|---|---|---|---|| DeepLabV3-ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 294.937 ms | 0 - 338 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 206.139 ms | 21 - 47 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 222.046 ms | 22 - 42 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 292.298 ms | 0 - 268 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 296.485 ms | 2 - 134 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8775 (Proxy) | SA8775P Proxy | TFLITE | 292.364 ms | 0 - 128 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 295.452 ms | 0 - 164 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8295P ADP | SA8295P | TFLITE | 279.707 ms | 6 - 26 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 467.317 ms | 23 - 51 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 290.866 ms | 0 - 164 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 206.66 ms | 21 - 46 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 216.408 ms | 12 - 28 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 291.878 ms | 0 - 142 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA7255P ADP | SA7255P | TFLITE | 2151.421 ms | 21 - 42 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 291.325 ms | 6 - 175 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8295P ADP | SA8295P | TFLITE | 281.323 ms | 6 - 26 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 291.54 ms | 0 - 161 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | SA8775P ADP | SA8775P | TFLITE | 592.859 ms | 22 - 44 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) || DeepLabV3-ResNet50 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 408.225 ms | 23 - 52 MB | FP16 | GPU | [DeepLabV3-ResNet50.tflite](https://huggingface.co/qualcomm/DeepLabV3-ResNet50/blob/main/DeepLabV3-ResNet50.tflite) |
57 unmodified linesDeepLabV3-ResNet50Device : Samsung Galaxy S23 (13) Runtime : TFLITE Estimated inference time (ms) : 294.9 Estimated peak memory usage (MB): [0, 338] Estimated inference time (ms) : 290.9 Estimated peak memory usage (MB): [0, 164] Total # Ops : 100 Compute Unit(s) : GPU (98 ops) CPU (2 ops)```14 unmodified linesimport torch
import qai_hub as hubfrom qai_hub_models.models.deeplabv3_resnet50 import from qai_hub_models.models.deeplabv3_resnet50 import Model
# Load the modeltorch_model = Model.from_pretrained()
# Devicedevice = hub.Device("Samsung Galaxy S23")
# Trace modelinput_shape = torch_model.get_input_spec()sample_inputs = torch_model.sample_inputs()
pt_model = torch.jit.trace(torch_model, [torch.tensor(data[0]) for _, data in sample_inputs.items()])
# Compile model on a specific devicecompile_job = hub.submit_compile_job( model=pt_model, device=device, input_specs=torch_model.get_input_spec(),)
# Get target model to run on-devicetarget_model = compile_job.get_target_model()
```
README.md+29-12