Skip to content

Conversation

hanlint
Copy link
Contributor

@hanlint hanlint commented Aug 19, 2022

  • Simplifies the helper function
  • Removes checks for _in_epoch conflicts, since its not possible for files to have the same batch counter, but have different epoch_in_batch counters.

@hanlint hanlint requested a review from mvpatel2000 August 19, 2022 02:27
Copy link
Contributor

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

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

This is a lot cleaner! I'm not sure if we can skip the _in_epoch though -- see comment.

Copy link
Contributor

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

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

Approving to unblock

@hanlint hanlint merged commit 1cb3d4d into mosaicml:dev Aug 22, 2022
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