Revert "limit metal buffers and revert the 207 fix (#2087)"

This reverts commit 2fb10f6a19.
This commit is contained in:
George Hotz
2023-10-16 14:32:22 -07:00
parent 2fb10f6a19
commit e8fcd2f3db
4 changed files with 11 additions and 25 deletions

View File

@@ -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)