Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
qihqi committed Jan 25, 2025
1 parent 477a600 commit a351f63
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/torch_xla2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,19 @@ jobs:
shell: bash
run: |
export JAX_PLATFORMS=cpu
for t in $(find test -type f -name test*.py); do pytest $t; done
pytest test/test_conv.py
pytest test/test_unbounded_dynamism.py
pytest test/test_interop.py
pytest test/test_ops.py
pytest test/test_context.py
pytest test/test_train.py
pytest test/test_mutations.py
pytest test/test_tf_integration.py
pytest test/gemma/test_gemma.py
pytest test/llama/test_llama.py
pytest test/test_core_aten_ops.py
pytest test/test_functions.py
pytest test/test_libraries.py
pytest test/test_symbolic_shapes.py
pytest test/test_exports.py
XLA_FLAGS=--xla_force_host_platform_device_count=4 pytest -n 0 test_dist/
2 changes: 1 addition & 1 deletion torchax/test/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def run_function_and_compare(testcase,
equal_nan=equal_nan)
else:
diff_output(
testcase, res, res2, atol=atol, rtol=rtol, equal_nan=equal_nan)
testcase, res, res2, atol=atol, rtol=rtol, equal_nan=equal_nan)

0 comments on commit a351f63

Please sign in to comment.