Skip to content

Commit

Permalink
[array api] update to latest test repo commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Apr 16, 2024
1 parent 63a9ff3 commit 44036a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jax-array-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
repository: data-apis/array-api-tests
# TODO(jakevdp) update this to a stable release/tag when available.
ref: '58113931e9959ee70dca4bace430b55b90a1eed8' # Latest commit as of 2024-03-18
ref: 'e38ce3466e596ed2b8fa4638f161f5563ded81a8' # Latest commit as of 2024-04-15
submodules: 'true'
path: 'array-api-tests'
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -42,4 +42,4 @@ jobs:
JAX_ENABLE_X64: 'true'
run: |
cd ${GITHUB_WORKSPACE}/array-api-tests
pytest --ci array_api_tests --max-examples=5 --derandomize --disable-deadline --skips-file ${GITHUB_WORKSPACE}/jax/experimental/array_api/skips.txt
pytest array_api_tests --max-examples=5 --derandomize --disable-deadline --skips-file ${GITHUB_WORKSPACE}/jax/experimental/array_api/skips.txt
5 changes: 3 additions & 2 deletions jax/experimental/array_api/skips.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Known failures for the array api tests.

# Test suite attempts in-place mutation:
array_api_tests/test_special_cases.py::test_binary
array_api_tests/test_special_cases.py::test_iop
array_api_tests/test_special_cases.py::test_nan_propagation
array_api_tests/test_special_cases.py::test_unary
array_api_tests/test_array_object.py::test_setitem

# sign(-0.0) returns -0.0
array_api_tests/test_special_cases.py::test_unary[sign((x_i is -0

# fft test suite is buggy as of 83f0bcdc
array_api_tests/test_fft.py
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ filterwarnings = [
"ignore:case not machine-readable.*:UserWarning",
"ignore:not machine-readable.*:UserWarning",
"ignore:Special cases found for .* but none were parsed.*:UserWarning",
"ignore:.*:hypothesis.errors.NonInteractiveExampleWarning",
# end array_api_tests-related warnings
"ignore:jax.extend.mlir.dialects.mhlo is deprecated.*:DeprecationWarning",
"ignore:jax.experimental.maps and .* are deprecated.*:DeprecationWarning",
Expand Down

0 comments on commit 44036a4

Please sign in to comment.