metadata
description: >-
Explore YOLO model benchmarking for speed and accuracy with formats like
PyTorch, ONNX, TensorRT, and more. Detailed profiling & usage guides.
keywords: >-
YOLO, model benchmarking, ONNX, TensorRT, PyTorch, TensorFlow, CoreML,
profiling, Ultralytics, model performance
Reference for ultralytics/utils/benchmarks.py
!!! note
This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/benchmarks.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/benchmarks.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/utils/benchmarks.py) 🛠️. Thank you 🙏!