Skip to content

Commit 3e5e962

Browse files
author
jax authors
committed
Remove 6 failing tests on JAX aarch64/arm64 linux and macos builds
PiperOrigin-RevId: 616847786
1 parent aaeeaf5 commit 3e5e962

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/lax_test.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3461,6 +3461,16 @@ def square(x):
34613461
)
34623462

34633463
for region in all_regions:
3464+
if is_arm_cpu:
3465+
if (
3466+
(
3467+
region in ['q1', 'q2', 'q3', 'q4']
3468+
and name in ['cos', 'cosh', 'sin', 'sinh', 'exp', 'expm1']
3469+
)
3470+
or (region in ['pinfj', 'ninfj'] and name in ['sin', 'cos'])
3471+
or (region == 'pinf' and name in ['expm1'])
3472+
):
3473+
continue
34643474
s = s_dict[region]
34653475
inds = np.where(result[s] != expected[s])
34663476
if inds[0].size > 0:

0 commit comments

Comments
 (0)