Published November 13, 2024
| Version v8.3.31
Software
Open
Ultralytics YOLO
Description
🌟 Summary
The v8.3.31 release of Ultralytics introduces enhancements to automatic batch size estimation during model training, which aims to optimize memory usage and manage CUDA memory issues more effectively.
📊 Key Changes
- Batch Size Optimization: Implemented
auto_batchfunctionality to determine the best batch size by evaluating memory consumption. - Improved Profiling: The profiling tools have been updated to include a
max_num_objparameter for better batch size accuracy. - Error Management: Introduced logging for CUDA out-of-memory warnings and an automatic switch to CPU computation when necessary.
- Documentation Updates: Removed the
verboseargument from training documentation as it was deemed ineffective.
🎯 Purpose & Impact
- Efficient Memory Use: Automatically adjusting batch sizes helps prevent overloading GPU memory, resulting in more efficient and stable training sessions. This is particularly beneficial for preventing abrupt interruptions due to memory errors.
- Greater Reliability: By switching to CPU processing when encountering memory errors, the system maintains training continuity, avoiding crashes and ensuring an uninterrupted user experience.
- Simplified User Experience: Streamlining training configuration by removing unnecessary options enhances usability, making the setup less complex for users.
What's Changed
- Remove
verbosearg from train docs. by @Y-T-G in https://github.com/ultralytics/ultralytics/pull/17257 ultralytics 8.3.31addmax_num_objfactor forAutoBatchby @Laughing-q in https://github.com/ultralytics/ultralytics/pull/17514
Full Changelog: https://github.com/ultralytics/ultralytics/compare/v8.3.30...v8.3.31
Notes
Files
ultralytics/ultralytics-v8.3.31.zip
Files
(2.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:e301c34647532743b7c2c41d85266d6d
|
2.1 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/ultralytics/ultralytics/tree/v8.3.31 (URL)