mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
Revert "limit metal buffers and revert the 207 fix (#2087)"
This reverts commit 2fb10f6a19.
This commit is contained in:
@@ -326,11 +326,5 @@ class TestSchedule(unittest.TestCase):
|
||||
out = x.to('cpu')
|
||||
check_schedule(out, 0, filter_loadops=False)
|
||||
|
||||
@unittest.skipUnless(Device.DEFAULT == "METAL", "only for metal")
|
||||
def test_metal_limit_buffers(self):
|
||||
t = sum([Tensor([1,2,3,4]) for _ in range(40)])
|
||||
for si in t.lazydata.schedule():
|
||||
assert len(si.inputs) <= 30
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(verbosity=2)
|
||||
|
||||
Reference in New Issue
Block a user