Skip to content

Commit 2dae81a

Browse files
ayaka14732Google-ML-Automation
authored andcommitted
[Pallas TPU] Enable test for jnp.logical_not because it's now supported
PiperOrigin-RevId: 702439876
1 parent 73962b7 commit 2dae81a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/pallas/ops_test.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -808,14 +808,6 @@ def test_elementwise(self, fn, dtype):
808808
):
809809
self.skipTest(f"{fn.__name__} not implemented on TPU")
810810

811-
# TODO: https://github.com/jax-ml/jax/issues/24243
812-
if (
813-
jtu.test_device_matches(["tpu"])
814-
and fn == jnp.logical_not
815-
and not self.INTERPRET
816-
):
817-
self.skipTest("logical_not on TPU is only supported in interpret mode")
818-
819811
@functools.partial(
820812
self.pallas_call,
821813
out_shape=jax.ShapeDtypeStruct((8, 128), dtype),

0 commit comments

Comments
 (0)