[go: nahoru, domu]

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

Remove hardcoded prints in Trainer #23432

Merged
merged 1 commit into from
May 17, 2023
Merged

Remove hardcoded prints in Trainer #23432

merged 1 commit into from
May 17, 2023

Conversation

hugoabonizio
Copy link
Contributor

There are some print calls in the Trainer when using 8-bit optimizers that might be annoying when they can't be disabled. This PR replaces them with logger.info calls, but please let me know if there's a better way of handling them.

@sgugger

Copy link
Collaborator
@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Looks like this was added post-review in #21030. Thanks a lot for fixing!

@sgugger sgugger merged commit 0f2c738 into huggingface:main May 17, 2023
@hugoabonizio hugoabonizio deleted the patch-1 branch May 17, 2023 22:32
sheonhan pushed a commit to sheonhan/transformers that referenced this pull request Jun 1, 2023
gojiteji pushed a commit to gojiteji/transformers that referenced this pull request Jun 5, 2023
novice03 pushed a commit to novice03/transformers that referenced this pull request Jun 23, 2023
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.

2 participants