Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mpmath==1.3.0 # TODO(dsuo): Remove pin sinc(inf) is resolved as either nan or 0
pillow>=11.3
portpicker
pytest<9.0 # Works around https://github.com/pytest-dev/pytest/issues/13895
pytest-timeout
pytest-xdist
rich
matplotlib
Expand Down
3 changes: 3 additions & 0 deletions ci/run_pytest_rocm.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,15 @@ set +e

# Run single-accelerator tests in parallel
"$JAXCI_PYTHON" -m pytest -n $num_processes --tb=short \
--timeout=1800 \
--json-report --json-report-file=${LOGS_DIR}/pytest_results_single.json \
--junitxml=test-artifacts/junit-single.xml \
--dist=loadfile \
-m "not multiaccelerator" \
--deselect=tests/multi_device_test.py::MultiDeviceTest::test_computation_follows_data \
--deselect=tests/multiprocess_gpu_test.py::MultiProcessGpuTest::test_distributed_jax_visible_devices \
--deselect=tests/compilation_cache_test.py::CompilationCacheTest::test_task_using_cache_metric \
--deselect=tests/pallas/gpu_ops_test.py::FusedAttentionTest::test_fused_attention_bwd8 \
tests

first_cmd_retval=$?
Expand All @@ -141,6 +143,7 @@ if [[ $gpu_count -gt 1 ]]; then
unset JAX_ENABLE_ROCM_XDIST

"$JAXCI_PYTHON" -m pytest --tb=short \
--timeout=1800 \
--json-report --json-report-file=${LOGS_DIR}/pytest_results_multi.json \
--junitxml=test-artifacts/junit-multi.xml \
-m "multiaccelerator" \
Expand Down