Revert "test: add failing bfloat16 test case for metal backend (#3481)" (#3618)

This reverts commit 1e12a2ae80.
This commit is contained in:
chenyu
2024-03-05 09:08:42 -05:00
committed by GitHub
parent 1e12a2ae80
commit 3275260c98

View File

@@ -530,11 +530,5 @@ class TestAutoCastType(unittest.TestCase):
assert (Tensor([1, 2], dtype=dtypes.float16) / 2).dtype == dtypes.float16
assert (Tensor([1, 2], dtype=dtypes.float16) / 2.0).dtype == dtypes.float16
@unittest.skipIf(getenv("METAL", 0)== 0, "only run on METAL backend")
@unittest.expectedFailure
def test_bfloat16_metal(self):
x = Tensor.uniform(10, dtype=dtypes.bfloat16)
x.realize()
if __name__ == '__main__':
unittest.main()