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

Improve GPU name #5478

Merged
merged 5 commits into from
Nov 3, 2021
Merged

Improve GPU name #5478

merged 5 commits into from
Nov 3, 2021

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