mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 23:48:01 -05:00
enable copy folding tests [pr] (#10862)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user