Skip to content

Commit b0c9f61

Browse files
apaszkeGoogle-ML-Automation
authored andcommitted
[Pallas:TPU] Reenable a disabled tests
Recent libtpu should already have all the necessary changes PiperOrigin-RevId: 801793277
1 parent e1b6985 commit b0c9f61

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/pallas/tpu_ops_test.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,10 @@ def kernel(x, out):
327327
expected = reduce_func(x, axis, keepdims=True)
328328
np.testing.assert_array_equal(result, expected)
329329

330-
@parameterized.product(
331-
reduce_func = [jnp.argmax, jnp.argmin]
332-
)
333-
@jtu.skip_on_devices('tpu') # TODO: apaszke - This test is breaking presubmits.
330+
@parameterized.product(reduce_func = [jnp.argmax, jnp.argmin])
334331
def test_reduce_index(self, reduce_func):
335-
if not jtu.if_cloud_tpu_at_least(2025, 8, 25):
336-
self.skipTest("Requires libtpu built after 2025-08-25")
332+
if not jtu.if_cloud_tpu_at_least(2025, 8, 29):
333+
self.skipTest("Requires libtpu built after 2025-08-29")
337334
dtype = jnp.float32
338335
axis = 1
339336
if (axis == 1 and not jtu.is_device_tpu_at_least(version=4)):

0 commit comments

Comments
 (0)