Yolo-v5: Optimized for Qualcomm Devices
YoloV5 is a machine learning model that predicts bounding boxes and classes of objects in an image.
This is based on the implementation of Yolo-v5 found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.
Getting Started
Due to licensing restrictions, we cannot distribute pre-exported model assets for this model. Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:
- Custom weights (e.g., fine-tuned checkpoints)
- Custom input shapes
- Target device and runtime configurations
See our repository for Yolo-v5 on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.object_detection
Model Stats:
- Model checkpoint: YoloV5-M
- Input resolution: 640x640
- Number of parameters: 21.2M
- Model size (float): 81.1 MB
- Model size (w8a16): 21.8 MB
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| Yolo-v5 | ONNX | float | Snapdragon® X2 Elite | 7.495 ms | 46 - 46 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® X Elite | 13.525 ms | 46 - 46 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 9.668 ms | 1 - 278 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® QCS8550 (Proxy) | 12.876 ms | 0 - 57 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® QCS9075 | 22.335 ms | 5 - 12 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.32 ms | 1 - 229 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 5.279 ms | 5 - 217 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® X2 Elite | 4.884 ms | 24 - 24 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® X Elite | 10.298 ms | 23 - 23 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 6.175 ms | 3 - 313 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® QCS6490 | 1722.871 ms | 98 - 102 MB | CPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® QCS8550 (Proxy) | 9.616 ms | 0 - 30 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® QCS9075 | 12.559 ms | 2 - 5 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® QCM6690 | 869.55 ms | 94 - 103 MB | CPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 5.37 ms | 2 - 254 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 834.396 ms | 89 - 99 MB | CPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 4.084 ms | 3 - 266 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® X2 Elite | 6.694 ms | 5 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® X Elite | 11.905 ms | 5 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 8.444 ms | 5 - 240 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 63.682 ms | 1 - 189 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 11.303 ms | 5 - 7 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® QCS9075 | 18.522 ms | 5 - 11 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 25.829 ms | 5 - 263 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 6.367 ms | 5 - 200 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 4.775 ms | 5 - 207 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 4.25 ms | 2 - 2 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® X Elite | 9.455 ms | 2 - 2 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 5.829 ms | 2 - 285 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® QCS6490 | 32.043 ms | 1 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® QCS8275 (Proxy) | 21.057 ms | 1 - 233 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 8.774 ms | 2 - 153 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 10.533 ms | 3 - 7 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® QCM6690 | 122.551 ms | 2 - 270 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® QCS8450 (Proxy) | 13.645 ms | 2 - 286 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 4.298 ms | 2 - 239 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 12.861 ms | 2 - 251 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 3.219 ms | 5 - 246 MB | NPU |
| Yolo-v5 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 8.206 ms | 0 - 289 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 63.147 ms | 0 - 222 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 10.807 ms | 0 - 4 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® QCS9075 | 18.387 ms | 0 - 57 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 30.532 ms | 0 - 315 MB | NPU |
| Yolo-v5 | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 6.121 ms | 0 - 230 MB | NPU |
| Yolo-v5 | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 4.433 ms | 0 - 235 MB | NPU |
License
- The license for the original implementation of Yolo-v5 can be found here.
References
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
