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

Fix consumed_samples which was off by one batch #7212

Merged
merged 2 commits into from
Aug 13, 2023

Conversation

odelalleau
Copy link
Collaborator

What does this PR do ?

It fixes consumed_samples, which was off by one batch

Collection: nlp

Changelog

  • Fix consumed_samples, which was off by one batch

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

Additional Information

This could be an issue for instance when resuming an experiment and using the number of consumed samples to know where to start from (we would end up re-processing a batch that should have been skipped).

@github-actions github-actions bot added the NLP label Aug 11, 2023
MaximumEntropy
MaximumEntropy previously approved these changes Aug 11, 2023
Copy link
Contributor

@MaximumEntropy MaximumEntropy left a comment

Choose a reason for hiding this comment

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

Nice catch!

@odelalleau
Copy link
Collaborator Author

NB: updated the commit with the "Signed-off" message in e6fda0f

@MaximumEntropy MaximumEntropy self-requested a review August 13, 2023 06:45
@MaximumEntropy MaximumEntropy merged commit f4afdf0 into NVIDIA:main Aug 13, 2023
8 checks passed
guyueh1 pushed a commit to guyueh1/NeMo that referenced this pull request Aug 14, 2023
Signed-off-by: Olivier Delalleau <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
dorotat-nv pushed a commit to dorotat-nv/NeMo that referenced this pull request Aug 24, 2023
Signed-off-by: Olivier Delalleau <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
Signed-off-by: dorotat <[email protected]>
rohitrango pushed a commit to rohitrango/NeMo that referenced this pull request Jun 25, 2024
Signed-off-by: Olivier Delalleau <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants