From 4756971c8828c990a4e4ef0873d41c223d0beaba Mon Sep 17 00:00:00 2001 From: qazal <77887910+Qazalin@users.noreply.github.com> Date: Sat, 20 Sep 2025 17:11:06 +0300 Subject: [PATCH] skip test_bf16_disk_write_read on CL=1 (#12256) --- test/unit/test_disk_tensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/test_disk_tensor.py b/test/unit/test_disk_tensor.py index 467c9e066b..57584df295 100644 --- a/test/unit/test_disk_tensor.py +++ b/test/unit/test_disk_tensor.py @@ -307,7 +307,7 @@ class TestDiskTensor(unittest.TestCase): ret = t.bitcast(dtypes.uint16).to("CPU") + 1 assert ret.tolist() == [2827, 3341, 3855, 4369] - @unittest.skipIf(OSX, "new LLVM has an issue on OSX") + @unittest.skipIf(OSX or Device.DEFAULT == "CL", "new LLVM has an issue on OSX, CL=1 gives the wrong output") def test_bf16_disk_write_read(self): t = Tensor([10000, -1, -1000, -10000, 20], dtype=dtypes.float32) t.to(f"disk:{temp('dt_bf16_disk_write_read_f32')}").realize()