-
Notifications
You must be signed in to change notification settings - Fork 362
Maxtext unit tests with Pathways backend. #1211
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
Open
RoshaniN
wants to merge
1
commit into
main
Choose a base branch
from
roshanin_unit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+187
−2
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3901ccb
to
27fbae0
Compare
0fdec67
to
a688c60
Compare
c8d3e1c
to
5cfb878
Compare
5cfb878
to
d6a6e21
Compare
shauryagup
reviewed
Feb 27, 2025
070f151
to
e016673
Compare
gobbleturk
approved these changes
Feb 28, 2025
gagika
approved these changes
Feb 28, 2025
a8ed8d1
to
7393067
Compare
Modified Pathways workflow to run specifically on Pathways runner. Final tests on Pathways. New changes to help run tests. Trial to get Pathways working. run Pathways containers and Maxtext as part of the same job. Move installation to script More changes. Installing docker also as part of the script. Simplified flow test. Few more changes. New way of installation Docker compose with Maxtext and Pathways containers. Other changes to use maxtext container in docker compose YAML. Trying to merge all services together. Adding everything as services again. Directly running docker compose. Elegant solution with Pathways containers as services. Elegant solution with Pathways containers as services. Reverting to Maxtext in docker compose. Changes to run with latest JAX SS image. Run tests with correct markers. Move installation to Github runner step, simplify command. Formalize the changes. Formalize the changes. Formalize the changes. Notify on Pathways test failures, modify test script. Error handling.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR enables TPU unit tests to also run with Pathways backend. Essentially, we will have two sets of tests - one with McJAX and one with Pathways.
For more details, please read the doc on b/397475777 . Note that extra self-hosted runners have been added so that tests can be executed in parallel and complete faster overall.
Tests
Please describe how you tested this change -
bash docker_run_pathways_containers.sh maxtext_image=us-docker.pkg.dev/cloud-tpu-v2-images-dev/pathways/maxtext_jax_stable:latest command="cd MaxText ; python3 -m pytest tests -m 'not gpu_only and not integration_test' -s"
Example runs -
Checklist
Before submitting this PR, please make sure (put X in square brackets):