From 8074c0ec8f1e3ffc5a9459294570d778b5d1fa4f Mon Sep 17 00:00:00 2001 From: qazal <77887910+Qazalin@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:00:47 +0300 Subject: [PATCH] skip test_bfloat16_unary on AMD (#7169) --- test/test_dtype_alu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_dtype_alu.py b/test/test_dtype_alu.py index 07f9b96064272..8abb06a2a4284 100644 --- a/test/test_dtype_alu.py +++ b/test/test_dtype_alu.py @@ -121,6 +121,7 @@ def test_float16_unary(self, a, op): universal_test_unary(a, dtypes.float16, op) @unittest.skipUnless(is_dtype_supported(dtypes.bfloat16, Device.DEFAULT), f"no bfloat16 on {Device.DEFAULT}") @given(ht.bfloat16, strat.sampled_from(unary_operations)) + @unittest.skipIf(Device.DEFAULT == "AMD", "broken on AMD") def test_bfloat16_unary(self, a, op): universal_test_unary(a, dtypes.bfloat16, op) @given(ht.uint8, ht.uint8, strat.sampled_from(integer_binary_operations))