Skip to content

Commit

Permalink
Merge pull request #21108 from justinjfu/skip_pallas_test_64
Browse files Browse the repository at this point in the history
Skip float64 test_nextafter on TPU.
  • Loading branch information
justinjfu committed May 9, 2024
2 parents 671fb12 + 080b3f1 commit eb0b1b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pallas/pallas_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,8 @@ def kernel(x_ref, y_ref, o_ref):

@parameterized.parameters("float32", "float64")
def test_nextafter(self, dtype):
if jtu.test_device_matches(["tpu"]) and dtype == "float64":
self.skipTest("float64 disabled on TPU.")
@functools.partial(
self.pallas_call, out_shape=jax.ShapeDtypeStruct((4,), dtype), grid=1
)
Expand Down

0 comments on commit eb0b1b0

Please sign in to comment.