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

skip previous trained batches #43

Open
wants to merge 1 commit into
base: accuracy_workstream_trn
Choose a base branch
from

Conversation

aws-zhenguo
Copy link
Collaborator

No description provided.

@aws-zhenguo aws-zhenguo requested a review from HahTK December 23, 2024 19:02
@@ -560,6 +560,11 @@ def run(
output = None
stop_trace_step = None

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

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
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

@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

@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
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