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:
- Input resolution: 640x640
- Model checkpoint: YoloV5-M
- Model size (float): 81.1 MB
- Model size (w8a16): 21.8 MB
- Number of parameters: 21.2M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| Yolo-v5 | ONNX | float | Snapdragon® X2 Elite | 7.232 ms | 5 - 5 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® X Elite | 13.482 ms | 47 - 47 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 9.622 ms | 2 - 246 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 28.125 ms | 1 - 271 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 22.945 ms | 4 - 13 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 12.952 ms | 0 - 55 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® QCS8450 | 28.125 ms | 1 - 271 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 20.695 ms | 5 - 12 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 13.482 ms | 47 - 47 MB | NPU |
| Yolo-v5 | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 7.494 ms | 3 - 205 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® 8 Elite Mobile | 7.494 ms | 3 - 205 MB | NPU |
| Yolo-v5 | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 5.793 ms | 1 - 213 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® X2 Elite | 5.053 ms | 2 - 2 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® X Elite | 10.396 ms | 24 - 24 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 6.413 ms | 3 - 302 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 14.113 ms | 3 - 304 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 50.632 ms | 2 - 5 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 9.094 ms | 2 - 6 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 9.733 ms | 0 - 28 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® QCS8450 | 14.113 ms | 3 - 304 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 10.873 ms | 2 - 5 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 10.396 ms | 24 - 24 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 128.941 ms | 0 - 293 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 14.507 ms | 3 - 270 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 5.55 ms | 1 - 261 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 8 Elite Mobile | 5.55 ms | 1 - 261 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 4.359 ms | 1 - 270 MB | NPU |
| Yolo-v5 | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 14.507 ms | 3 - 270 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® X2 Elite | 6.764 ms | 5 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® X Elite | 12.118 ms | 5 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 8.557 ms | 0 - 234 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 26.179 ms | 5 - 263 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 19.603 ms | 5 - 12 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 63.866 ms | 1 - 195 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 11.42 ms | 5 - 6 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® SA8775P | 17.473 ms | 1 - 195 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® SA8650P | 17.473 ms | 1 - 195 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® SA8255P | 17.473 ms | 1 - 195 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® QCS8450 | 26.179 ms | 5 - 263 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 17.288 ms | 5 - 11 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 12.118 ms | 5 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 6.471 ms | 5 - 201 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® SA7255P | 63.866 ms | 1 - 195 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Qualcomm® SA8295P | 22.207 ms | 0 - 219 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 6.471 ms | 5 - 201 MB | NPU |
| Yolo-v5 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 5.005 ms | 5 - 210 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 4.316 ms | 2 - 2 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® X Elite | 9.467 ms | 2 - 2 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 5.804 ms | 2 - 278 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 13.725 ms | 2 - 279 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 48.052 ms | 2 - 6 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 8.333 ms | 1 - 6 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 21.028 ms | 2 - 233 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 8.739 ms | 2 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® SA8775P | 8.987 ms | 0 - 233 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® SA8650P | 8.987 ms | 0 - 233 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® SA8255P | 8.987 ms | 0 - 233 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® QCS8450 | 13.725 ms | 2 - 279 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 8.716 ms | 1 - 5 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 9.467 ms | 2 - 2 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 131.484 ms | 5 - 275 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 12.4 ms | 2 - 251 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 4.266 ms | 2 - 240 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® SA7255P | 21.028 ms | 2 - 233 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Qualcomm® SA8295P | 12.565 ms | 0 - 235 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 8 Elite Mobile | 4.266 ms | 2 - 240 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 3.351 ms | 2 - 246 MB | NPU |
| Yolo-v5 | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 12.4 ms | 2 - 251 MB | NPU |
| Yolo-v5 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 8.249 ms | 0 - 281 MB | NPU |
| Yolo-v5 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 25.384 ms | 0 - 311 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 19.233 ms | 0 - 58 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 63.113 ms | 0 - 222 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 10.954 ms | 0 - 2 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® SA8775P | 17.026 ms | 0 - 223 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® SA8650P | 17.026 ms | 0 - 223 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® SA8255P | 17.026 ms | 0 - 223 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® QCS8450 | 25.384 ms | 0 - 311 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 16.819 ms | 2 - 59 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 6.164 ms | 0 - 226 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® SA7255P | 63.113 ms | 0 - 222 MB | NPU |
| Yolo-v5 | TFLITE | float | Qualcomm® SA8295P | 21.633 ms | 0 - 250 MB | NPU |
| Yolo-v5 | TFLITE | float | Snapdragon® 8 Elite Mobile | 6.164 ms | 0 - 226 MB | NPU |
| Yolo-v5 | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 4.64 ms | 0 - 233 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.
