Adding basic tpu github tests#336
Merged
copybara-service[bot] merged 1 commit intomainfrom Sep 26, 2025
Merged
Conversation
wang2yn84
reviewed
Sep 25, 2025
Collaborator
wang2yn84
left a comment
There was a problem hiding this comment.
Thank you! Can you squash all the commits into 1 before submit?
.github/workflows/tpu-tests.yml
Outdated
| import jax | ||
| print(f'JAX version: {jax.__version__}') | ||
| print(f'JAX devices: {jax.devices()}') | ||
| print(f'TPU available: {len(jax.devices()) > 0}') |
Collaborator
There was a problem hiding this comment.
If it's running on CPU, this will pass too. Consider check jax.devices()[0].platform == 'tpu'
6459972 to
204e28a
Compare
e42243f to
0654441
Compare
Signed-off-by: Vladimir Suvorov <[email protected]> Some initial tests Signed-off-by: Vladimir Suvorov <[email protected]> Some initial tests Signed-off-by: Vladimir Suvorov <[email protected]> Some initial tests Signed-off-by: Vladimir Suvorov <[email protected]> Some initial tests Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> Fix for linux-x86-ct5lp-224-8tpu Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> TPU simple tests Signed-off-by: Vladimir Suvorov <[email protected]> Refactored Signed-off-by: Vladimir Suvorov <[email protected]> Refactored Signed-off-by: Vladimir Suvorov <[email protected]>
Tianjiao-Yu
pushed a commit
to PLAN-Lab/tunix
that referenced
this pull request
Oct 5, 2025
PiperOrigin-RevId: 811557366
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
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.
Adding github tests on tpu machines
Using current tests to run pytest on tpu machines.
Tests need to be refactored after fixes apply. (we need to run all tests after code change)