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

Change progress logging to once across all nodes #28373

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

siddartha-RE
Copy link
Contributor

@siddartha-RE siddartha-RE commented Jan 6, 2024

What does this PR do?

Change progress logging to be once across all nodes rather than once per node.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Library:

Copy link
Contributor

@muellerzr muellerzr left a comment

Choose a reason for hiding this comment

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

Let's just include the changes to trainer_callback.py please, and #28364 we'll leave for handling the checkpoint issue. Thanks!

@siddartha-RE siddartha-RE force-pushed the users/siddartha/pr/multinode branch from e939d70 to b824a63 Compare January 8, 2024 22:51
@siddartha-RE siddartha-RE changed the title Fix up NFS race failures on save and log once across nodes Change progress logging to once across all nodes Jan 8, 2024
@siddartha-RE
Copy link
Contributor Author

Let's just include the changes to trainer_callback.py please, and #28364 we'll leave for handling the checkpoint issue. Thanks!

Done. Thank you for reviewing.

@siddartha-RE siddartha-RE force-pushed the users/siddartha/pr/multinode branch from 22e4c9a to 5b67725 Compare January 9, 2024 15:20
@siddartha-RE siddartha-RE requested a review from muellerzr January 9, 2024 23:11
Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

LGTM, @muellerzr feel free to merge if this is alright for you as well

@siddartha-RE
Copy link
Contributor Author

@muellerzr What do you think? Will close if you think this does not seem worth changing..

Copy link
Contributor

@muellerzr muellerzr 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 doing this!

@muellerzr muellerzr merged commit 29a2b14 into huggingface:main Jan 12, 2024
21 checks passed
staghado pushed a commit to staghado/transformers that referenced this pull request Jan 15, 2024
MadElf1337 pushed a commit to MadElf1337/transformers that referenced this pull request Jan 15, 2024
wgifford pushed a commit to wgifford/transformers that referenced this pull request Jan 21, 2024
AjayP13 pushed a commit to AjayP13/transformers that referenced this pull request Jan 22, 2024
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