Skip to content

Conversation

@lessw2020
Copy link
Contributor

@lessw2020 lessw2020 commented Feb 27, 2024

this PR updates the GPU metrics to labelling as GiB - we were calculating GiB but calling it GB.
(credit to @awgu for flagging this - issue #94)

function names and member vars in metrics.py have been updated to _gib instead of _gb for clarity, and the logging output now labels as GiB:
Screenshot 2024-02-27 at 11 28 23 AM

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 27, 2024
Copy link
Collaborator

@awgu awgu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick PR!

@lessw2020 lessw2020 merged commit 5a1689f into pytorch:main Feb 27, 2024
@lessw2020 lessw2020 deleted the switch-to-MiB-and-GiB-for-logging branch February 27, 2024 19:51
lessw2020 added a commit that referenced this pull request Apr 18, 2024
this PR updates the GPU metrics to labelling as GiB - we were
calculating GiB but calling it GB.
(credit to @awgu for flagging this - issue
#94)

function names and member vars in metrics.py have been updated to _gib
instead of _gb for clarity, and the logging output now labels as GiB:
<img width="851" alt="Screenshot 2024-02-27 at 11 28 23 AM"
src="https://github.com/pytorch/torchtrain/assets/46302957/85eb260a-77e9-4c49-be8a-b1aaa10dc3e2">
philippguevorguian pushed a commit to YerevaNN/YNNtitan that referenced this pull request Aug 17, 2024
this PR updates the GPU metrics to labelling as GiB - we were
calculating GiB but calling it GB.
(credit to @awgu for flagging this - issue
pytorch#94)

function names and member vars in metrics.py have been updated to _gib
instead of _gb for clarity, and the logging output now labels as GiB:
<img width="851" alt="Screenshot 2024-02-27 at 11 28 23 AM"
src="https://github.com/pytorch/torchtrain/assets/46302957/85eb260a-77e9-4c49-be8a-b1aaa10dc3e2">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants