Skip to content

skip previous trained batches#43

Open
aws-zhenguo wants to merge 1 commit intoaccuracy_workstream_trnfrom
replay_trn
Open

skip previous trained batches#43
aws-zhenguo wants to merge 1 commit intoaccuracy_workstream_trnfrom
replay_trn

Conversation

@aws-zhenguo
Copy link
Copy Markdown
Collaborator

No description provided.

@aws-zhenguo aws-zhenguo requested a review from HahTK December 23, 2024 19:02
Comment thread axlearn/common/trainer.py

# skip previous batches
for i in range(self.step):
self.vlog(3, f"skipping batch for step {i}")
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do we need to add any unit tests for this case ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

No unit tests planed for now since these are not merging to upstream.

Copy link
Copy Markdown

@satishpasumarthi satishpasumarthi left a comment

Choose a reason for hiding this comment

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

left a comment

Copy link
Copy Markdown

@satishpasumarthi satishpasumarthi left a comment

Choose a reason for hiding this comment

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

LGTM !

@HahTK
Copy link
Copy Markdown
Collaborator

HahTK commented Dec 27, 2024

LGTM but needs a test we can run on both GPU and TRN

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