Skip to content

Conversation

@stas00
Copy link
Collaborator

@stas00 stas00 commented Nov 12, 2025

logger is the wrong facility for see_mem_usage messages, since it should always print (if force=True) and the current implementation doesn't guarantee that, leading to wasted dev time puzzling over missing prints. So fixing to use print instead.

`logger` is the wrong facility for `see_mem_usage` messages, since it should always print (if `force=True`) and the current implementation doesn't guarantee that leading to wasted dev time puzzling over it. So fixing to use `print` instead.
@stas00 stas00 requested review from jeffra and removed request for tjruwase and tohtana November 12, 2025 18:30
@stas00 stas00 enabled auto-merge (squash) November 12, 2025 18:31
@stas00 stas00 merged commit c2c090b into master Nov 12, 2025
16 of 26 checks passed
@stas00 stas00 deleted the stas00-patch-1 branch November 12, 2025 19:13
rraminen pushed a commit to rraminen/DeepSpeed that referenced this pull request Dec 1, 2025
`logger` is the wrong facility for `see_mem_usage` messages, since it
should always print (if `force=True`) and the current implementation
doesn't guarantee that leading to wasted dev time puzzling over it. So
fixing to use `print` instead.

Signed-off-by: rraminen <[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.

3 participants