enable copy folding tests [pr] (#10862)

This commit is contained in:
qazal
2025-06-18 13:05:35 +03:00
committed by GitHub
parent 84d568d0cc
commit 96509daaba

View File

@@ -2349,7 +2349,6 @@ class TestCopyFolding(unittest.TestCase):
add.kernelize()
assert all_same([x.device for x in add.uop.src]), f"ALU has different devices! {[x.device for x in add.src]}"
@unittest.skip("this is just clone now")
def test_copy_to_same_device(self):
a = Tensor.empty(4).uop
b = a.copy_to_device(a.device)
@@ -2359,7 +2358,6 @@ class TestCopyFolding(unittest.TestCase):
# in the scheduler because buffer already has shape (4,)
self.assertIs(b, a.base)
@unittest.skip("this is just clone now")
def test_copy_to_same_device_alt(self):
a = Tensor.empty(4, 4).uop
b = a.copy_to_device(a.device)