mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
_alloc and _free with options (#3934)
* _alloc has options * linter * fix hsa
This commit is contained in:
2
test/external/external_test_speed_llama.py
vendored
2
test/external/external_test_speed_llama.py
vendored
@@ -12,7 +12,7 @@ class FakeProgram:
|
||||
def __call__(self, *bufs, global_size, local_size, vals=(), wait=False): pass
|
||||
|
||||
class FakeAllocator(Allocator):
|
||||
def _alloc(self, sz): return None
|
||||
def _alloc(self, sz, options): return None
|
||||
def copyin(self, dest, src:memoryview): pass
|
||||
|
||||
class TestLLaMASpeed(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user