Skip to content

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Aug 28, 2022

Signed-off-by: Glenn Jocher [email protected]

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved device compatibility for Automatic Mixed Precision (AMP) in YOLOv5.

πŸ“Š Key Changes

  • AMP is now explicitly disabled on both CPU and Metal Performance Shaders (MPS) devices.

🎯 Purpose & Impact

  • 🎯 Purpose: To prevent users from attempting to use AMP on devices that don't support it, which are now specified as CPU and MPS, enhancing code robustness.
  • πŸ’₯ Impact: Ensures better stability and clarity for users working on different hardware, as attempting to use AMP on unsupported devices would likely result in errors or suboptimal performance.

Signed-off-by: Glenn Jocher <[email protected]>
@glenn-jocher glenn-jocher self-assigned this Aug 28, 2022
@glenn-jocher glenn-jocher merged commit e57275a into master Aug 29, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-3 branch August 29, 2022 00:00
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
Signed-off-by: Glenn Jocher <[email protected]>

Signed-off-by: Glenn Jocher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant