Skip to content

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 3, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved memory display formatting in the device selection utility.

πŸ“Š Key Changes

  • Updated the code for displaying GPU memory from megabytes (MB) to mebibytes (MiB), with rounding to the nearest integer.

🎯 Purpose & Impact

  • Purpose: To provide a more standard and accurate representation of memory sizes.
  • Impact: Users will see GPU memory rounded to the nearest mebibyte (MiB), which aligns with industry standards and can prevent confusion about memory specifications.

@glenn-jocher glenn-jocher merged commit df30426 into master Nov 3, 2021
@glenn-jocher glenn-jocher deleted the update/gpu_name branch November 3, 2021 15:59
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Improve GPU name

* Update torch_utils.py

* Update torch_utils.py

* Update torch_utils.py

* Update torch_utils.py
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