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

add unit test for checkpoint compatibility between tfds and grain #485

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

aireenmei
Copy link
Collaborator

@aireenmei aireenmei commented Mar 5, 2024

Add unit test to make sure checkpoints generated by tfds pipeline and grain pipeline are compatible.

@aireenmei aireenmei marked this pull request as ready for review March 5, 2024 21:40
@aireenmei aireenmei requested a review from rwitten as a code owner March 5, 2024 21:40
Copy link
Collaborator

@rwitten rwitten left a comment

Choose a reason for hiding this comment

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

Giving approval either way but I have a requested change.

@@ -114,6 +114,10 @@ jobs:
run: |
docker run -v /home/runner/actions-runner/_work/maxtext/maxtext:/app --rm --privileged maxtext_base_image bash -c \
'bash end_to_end/test_checkpointing.sh runner gs:https://runner-maxtext-logs gs:https://maxtext-dataset False c4-array_record'
- name: Test checkpoint compatibility
run: |
docker run -v /home/runner/actions-runner/_work/maxtext/maxtext:/app --rm --privileged maxtext_base_image bash -c \
Copy link
Collaborator

Choose a reason for hiding this comment

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

My preference would be for this to be in XLML not GH runner because I believe it is slow relative to the coverage. Feel free to let me know if you disagree.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right now this test runs ~ 1m45s, which is comparable with some other GH unit tests. Given that we are working on some checkpointing change, I would like to add it to GH now. I'll move it to XLML later. Thanks

@rwitten rwitten removed their assignment Mar 5, 2024
@copybara-service copybara-service bot merged commit 7fd9d6f into main Mar 7, 2024
13 checks passed
@copybara-service copybara-service bot deleted the aireen/grain_unit_test2 branch March 7, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants