Skip to content

Commit d3a8052

Browse files
belitskiyGoogle-ML-Automation
authored andcommitted
Skip async store reduction tests for int64/uint64 when x64 is disabled.
PiperOrigin-RevId: 845757351
1 parent 86116f8 commit d3a8052

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/mosaic/gpu_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5402,6 +5402,10 @@ def body(
54025402
reduction_op=("add", "min", "max", "inc", "dec", "and", "or", "xor"),
54035403
)
54045404
def test_async_store_reduction(self, dtype, reduction_op):
5405+
5406+
if not config.enable_x64.value and dtype in (jnp.int64, jnp.uint64):
5407+
self.skipTest("x64 support is disabled")
5408+
54055409
# TODO(b/415721295):Clean up after the minimal jaxlib version is 0.8.2.
54065410
if not hasattr(mgpu_dialect, "TMAReduction"):
54075411
self.skipTest("The mgpu_dialect.TMAReduction attribute is required.")

0 commit comments

Comments
 (0)