Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(detect-objects): update dependency ultralytics to v8.3.31 #20473

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ultralytics (changelog) 8.3.29 -> 8.3.31 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

ultralytics/ultralytics (ultralytics)

v8.3.31: - ultralytics 8.3.31 add max_num_obj factor for AutoBatch (#​17514)

Compare Source

🌟 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_batch functionality to determine the best batch size by evaluating memory consumption.
  • Improved Profiling: The profiling tools have been updated to include a max_num_obj parameter 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 verbose argument 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

Full Changelog: ultralytics/ultralytics@v8.3.30...v8.3.31

v8.3.30: - ultralytics 8.3.30 run TAL on CPU if torch.OutOfMemoryError (#​17515)

Compare Source

🌟 Summary

Version 8.3.30 of Ultralytics introduces a resilient fallback for running task alignment processes on CPU in case of GPU memory shortages, enhancing stability and user experience for YOLO applications. 🚀

📊 Key Changes

  • Memory Management: Implemented a CPU fallback mechanism for task alignment calculations if a GPU torch.OutOfMemoryError occurs.
  • Method Refactoring: Introduced a helper method _forward to elegantly manage memory overflow conditions.
  • Docker and Documentation Fixes: Improved Docker image tagging and fixed a broken Jetson device documentation link.
  • Enhanced Features: Simplified documentation examples and introduced a new RegionCounter module for easier region-based object counting.

🎯 Purpose & Impact

  • Stability and Reliability: By ensuring task alignment processes can run on CPU under memory pressure, the update prevents application crashes and allows users with limited GPU resources to continue operations smoothly.
  • User Experience: The changes make YOLO operations more flexible and robust, especially in environments with constrained computational resources, helping users to maintain performance without interruptions.
  • Documentation and Usability: Improved documentation clarity makes it easier for both new and existing users to implement video analytics and other YOLO model features effectively. The RegionCounter addition simplifies integrating real-time object counting in specific video regions, broadening the tool's practical applications. 🔧

These updates and enhancements ensure that users have a smoother and more reliable experience with Ultralytics YOLO, particularly in resource-constrained settings.

What's Changed

New Contributors

Full Changelog: ultralytics/ultralytics@v8.3.29...v8.3.30


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@mergify mergify bot merged commit a9b6eb0 into main Nov 14, 2024
145 checks passed
@mergify mergify bot deleted the renovate/detect-objects-ultralytics-8.x branch November 14, 2024 09:54
Copy link

CML (Local) Report

Params

Value
lr 0.001
train {'epochs': 2}

Copy link

🎉 This PR is included in version 1.125.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants