Skip to content

Commit

Permalink
Make precision a focus point in test matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxmrs committed Aug 3, 2024
1 parent 5914e44 commit 46f486a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/jax-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
# How to set up Jax on an ARM Mac: https://developer.apple.com/metal/jax/
os: ["ubuntu-latest", "macos-14"]
python-version: ["3.11"]
precision: ["64", "32"]

steps:
- name: Checkout source
Expand Down Expand Up @@ -51,5 +52,6 @@ jobs:
pytest -k "not argmax and not argmin and not mean and not apply_reduction and not broadcast_trick and not groupby and not random and not visualization and not plan_scaling and not optimization"
env:
CUBED_BACKEND_ARRAY_API_MODULE: jax.numpy
JAX_ENABLE_X64: True
JAX_ENABLE_X64: ${{ matrix.precision == "64" }}
CUBED_DEFAULT_PRECISION_X32: ${{ matrix.precision == "32" }}
ENABLE_PJRT_COMPATIBILITY: True

0 comments on commit 46f486a

Please sign in to comment.