Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#18719 Update HUB alt text

Merged
Glenn Jocher merged 1 commits into Ultralytics:main from ultralytics:glenn-jocher-patch-1
description keywords
Discover how to automatically estimate the best YOLO batch size for optimal CUDA memory usage in PyTorch using Ultralytics' autobatch utility. YOLO batch size, CUDA memory, PyTorch autobatch, Ultralytics, machine learning, optimal batch size, training batch size, YOLO model

Reference for ultralytics/utils/autobatch.py

!!! note

This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/autobatch.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/autobatch.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/autobatch.py) ๐Ÿ› ๏ธ. Thank you ๐Ÿ™!

::: ultralytics.utils.autobatch.check_train_batch_size





::: ultralytics.utils.autobatch.autobatch



Discard
Tip!

Press p or to see the previous file or, n or to see the next file