Skip to content

Commit 74eca13

Browse files
bythew3iGoogle-ML-Automation
authored andcommitted
[Pallas] Add version guard for non-32-bit selection in test and fix github build failure.
PiperOrigin-RevId: 707645847
1 parent 1ed5fa6 commit 74eca13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/pallas/tpu_ops_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ def body(x_ref, y_ref):
254254

255255
@parameterized.product(dtype=[jnp.float32, jnp.bfloat16, jnp.int8])
256256
def test_cast_vector_to_mask(self, dtype):
257+
if jtu.jaxlib_version() <= (0, 4, 39):
258+
self.skipTest("Test requires non-32-bit selection support")
257259
shape = (128, 128)
258260
bitwidth = pallas_utils.dtype_bitwidth(dtype)
259261
if (

0 commit comments

Comments
 (0)