File size: 12,040 Bytes
dd3cc3d 955e204 dd3cc3d 104c5dc dd3cc3d 5c6231b dd3cc3d 207ee8e ca674bd 21d9242 dd3cc3d 207ee8e 7c966d5 e28c605 dd3cc3d 32248a6 e28c605 dd3cc3d 1f9a36b dd3cc3d e0e561f dd3cc3d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | ---
library_name: pytorch
license: other
tags:
- real_time
- android
pipeline_tag: object-detection
---

# YOLOv8-Detection: Optimized for Qualcomm Devices
Ultralytics YOLOv8 is a machine learning model that predicts bounding boxes and classes of objects in an image.
This is based on the implementation of YOLOv8-Detection found [here](https://github.com/ultralytics/ultralytics/tree/main/ultralytics/models/yolo/detect).
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/yolov8_det) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) 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](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/yolov8_det) 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 [YOLOv8-Detection on GitHub](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/yolov8_det) for usage instructions.
## Model Details
**Model Type:** Model_use_case.object_detection
**Model Stats:**
- Model checkpoint: YOLOv8-N
- Input resolution: 640x640
- Number of parameters: 3.18M
- Model size (float): 12.2 MB
- Model size (w8a8): 3.25 MB
- Model size (w8a16): 3.60 MB
## Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|---|---|---|---|---|---|---
| YOLOv8-Detection | ONNX | float | Snapdragon® X Elite | 6.342 ms | 5 - 5 MB | NPU
| YOLOv8-Detection | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 3.606 ms | 1 - 268 MB | NPU
| YOLOv8-Detection | ONNX | float | Qualcomm® QCS8550 (Proxy) | 5.83 ms | 5 - 16 MB | NPU
| YOLOv8-Detection | ONNX | float | Qualcomm® QCS9075 | 6.748 ms | 5 - 7 MB | NPU
| YOLOv8-Detection | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.872 ms | 1 - 215 MB | NPU
| YOLOv8-Detection | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.527 ms | 1 - 218 MB | NPU
| YOLOv8-Detection | ONNX | float | Snapdragon® X2 Elite | 2.978 ms | 3 - 3 MB | NPU
| YOLOv8-Detection | ONNX | w8a16 | Snapdragon® X Elite | 4.917 ms | 2 - 2 MB | NPU
| YOLOv8-Detection | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 2.763 ms | 2 - 89 MB | NPU
| YOLOv8-Detection | ONNX | w8a16 | Qualcomm® QCS6490 | 336.932 ms | 66 - 71 MB | CPU
| YOLOv8-Detection | ONNX | w8a16 | Qualcomm® QCS8550 (Proxy) | 4.481 ms | 2 - 6 MB | NPU
| YOLOv8-Detection | ONNX | w8a16 | Qualcomm® QCS9075 | 5.758 ms | 2 - 5 MB | NPU
| YOLOv8-Detection | ONNX | w8a16 | Qualcomm® QCM6690 | 172.577 ms | 65 - 73 MB | CPU
| YOLOv8-Detection | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 2.023 ms | 1 - 69 MB | NPU
| YOLOv8-Detection | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 157.233 ms | 65 - 74 MB | CPU
| YOLOv8-Detection | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 1.831 ms | 0 - 70 MB | NPU
| YOLOv8-Detection | ONNX | w8a16 | Snapdragon® X2 Elite | 1.978 ms | 0 - 0 MB | NPU
| YOLOv8-Detection | ONNX | w8a8 | Snapdragon® X Elite | 1.806 ms | 2 - 2 MB | NPU
| YOLOv8-Detection | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.048 ms | 0 - 70 MB | NPU
| YOLOv8-Detection | ONNX | w8a8 | Qualcomm® QCS6490 | 59.877 ms | 20 - 29 MB | CPU
| YOLOv8-Detection | ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 1.542 ms | 0 - 11 MB | NPU
| YOLOv8-Detection | ONNX | w8a8 | Qualcomm® QCS9075 | 1.843 ms | 0 - 3 MB | NPU
| YOLOv8-Detection | ONNX | w8a8 | Qualcomm® QCM6690 | 43.601 ms | 22 - 31 MB | CPU
| YOLOv8-Detection | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.744 ms | 0 - 51 MB | NPU
| YOLOv8-Detection | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 34.074 ms | 27 - 37 MB | CPU
| YOLOv8-Detection | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.65 ms | 0 - 50 MB | NPU
| YOLOv8-Detection | ONNX | w8a8 | Snapdragon® X2 Elite | 1.156 ms | 0 - 0 MB | NPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Snapdragon® X Elite | 8.658 ms | 3 - 3 MB | NPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Snapdragon® 8 Gen 3 Mobile | 5.515 ms | 3 - 163 MB | NPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Qualcomm® QCS6490 | 119.565 ms | 59 - 69 MB | CPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Qualcomm® QCS8550 (Proxy) | 7.981 ms | 2 - 5 MB | NPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Qualcomm® QCS9075 | 10.28 ms | 2 - 5 MB | NPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Qualcomm® QCM6690 | 76.787 ms | 59 - 70 MB | CPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Snapdragon® 8 Elite For Galaxy Mobile | 3.888 ms | 2 - 121 MB | NPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Snapdragon® 7 Gen 4 Mobile | 62.642 ms | 67 - 78 MB | CPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Snapdragon® 8 Elite Gen 5 Mobile | 3.361 ms | 0 - 115 MB | NPU
| YOLOv8-Detection | ONNX | w8a8_mixed_int16 | Snapdragon® X2 Elite | 3.619 ms | 4 - 4 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Snapdragon® X Elite | 3.953 ms | 5 - 5 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 2.7 ms | 5 - 210 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 13.543 ms | 1 - 178 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 3.612 ms | 4 - 15 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Qualcomm® SA8775P | 5.236 ms | 1 - 181 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Qualcomm® QCS9075 | 4.891 ms | 5 - 11 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 8.115 ms | 5 - 189 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Qualcomm® SA7255P | 13.543 ms | 1 - 178 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Qualcomm® SA8295P | 7.89 ms | 1 - 160 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.997 ms | 5 - 183 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.706 ms | 5 - 185 MB | NPU
| YOLOv8-Detection | QNN_DLC | float | Snapdragon® X2 Elite | 2.415 ms | 5 - 5 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Snapdragon® X Elite | 3.679 ms | 2 - 2 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 2.272 ms | 2 - 76 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Qualcomm® QCS6490 | 9.08 ms | 2 - 6 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 3.343 ms | 2 - 10 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Qualcomm® SA8775P | 3.916 ms | 1 - 54 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 3.73 ms | 1 - 4 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Qualcomm® QCM6690 | 20.514 ms | 2 - 169 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Qualcomm® QCS8450 (Proxy) | 4.05 ms | 2 - 74 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Qualcomm® SA8295P | 4.638 ms | 0 - 49 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 1.559 ms | 2 - 54 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 4.646 ms | 0 - 168 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 1.252 ms | 1 - 59 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 1.9 ms | 2 - 2 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Snapdragon® X Elite | 1.609 ms | 1 - 1 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.945 ms | 1 - 52 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® QCS6490 | 3.34 ms | 1 - 4 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8275 (Proxy) | 3.311 ms | 1 - 38 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8550 (Proxy) | 1.393 ms | 1 - 3 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® SA8775P | 1.79 ms | 1 - 40 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® QCS9075 | 1.707 ms | 1 - 4 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® QCM6690 | 8.376 ms | 1 - 156 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® QCS8450 (Proxy) | 1.672 ms | 1 - 52 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® SA7255P | 3.311 ms | 1 - 38 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Qualcomm® SA8295P | 2.22 ms | 1 - 36 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.708 ms | 1 - 36 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 1.519 ms | 0 - 35 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.576 ms | 1 - 39 MB | NPU
| YOLOv8-Detection | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.838 ms | 1 - 1 MB | NPU
| YOLOv8-Detection | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 2.394 ms | 0 - 110 MB | NPU
| YOLOv8-Detection | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 57.706 ms | 3 - 33 MB | GPU
| YOLOv8-Detection | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 3.283 ms | 0 - 3 MB | NPU
| YOLOv8-Detection | TFLITE | float | Qualcomm® SA8775P | 4.881 ms | 0 - 85 MB | NPU
| YOLOv8-Detection | TFLITE | float | Qualcomm® QCS9075 | 4.633 ms | 0 - 14 MB | NPU
| YOLOv8-Detection | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 6.243 ms | 0 - 74 MB | NPU
| YOLOv8-Detection | TFLITE | float | Qualcomm® SA7255P | 57.706 ms | 3 - 33 MB | GPU
| YOLOv8-Detection | TFLITE | float | Qualcomm® SA8295P | 7.191 ms | 0 - 50 MB | NPU
| YOLOv8-Detection | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.798 ms | 0 - 91 MB | NPU
| YOLOv8-Detection | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.382 ms | 0 - 94 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 0.91 ms | 0 - 51 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® QCS6490 | 3.242 ms | 0 - 7 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® QCS8275 (Proxy) | 3.16 ms | 0 - 35 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® QCS8550 (Proxy) | 1.332 ms | 0 - 8 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® SA8775P | 1.718 ms | 0 - 40 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® QCS9075 | 1.675 ms | 0 - 7 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® QCM6690 | 8.435 ms | 0 - 154 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® QCS8450 (Proxy) | 1.583 ms | 0 - 51 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® SA7255P | 3.16 ms | 0 - 35 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Qualcomm® SA8295P | 2.144 ms | 0 - 34 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 0.662 ms | 0 - 34 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 1.48 ms | 0 - 35 MB | NPU
| YOLOv8-Detection | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 0.573 ms | 0 - 39 MB | NPU
## License
* The license for the original implementation of YOLOv8-Detection can be found
[here](https://github.com/ultralytics/ultralytics/blob/main/LICENSE).
## References
* [Ultralytics YOLOv8 Docs: Object Detection](https://docs.ultralytics.com/tasks/detect/)
* [Source Model Implementation](https://github.com/ultralytics/ultralytics/tree/main/ultralytics/models/yolo/detect)
## Community
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|