rename allocator methods to not conflict [pr] (#7788)

* rename allocator methods to not conflict [pr]

* forgot those

* transfer + offset
This commit is contained in:
George Hotz
2024-11-20 00:10:29 +08:00
committed by GitHub
parent d5f76462c8
commit d71fe7faa5
25 changed files with 85 additions and 81 deletions

View File

@@ -14,7 +14,7 @@ class FakeProgram:
class FakeAllocator(Allocator):
def _alloc(self, sz, options): return None
def copyin(self, dest, src:memoryview): pass
def _copyin(self, dest, src:memoryview): pass
class TestLLaMASpeed(unittest.TestCase):
def test_llama_compile(self):