all tests pass on strix halo (#13728)

This commit is contained in:
George Hotz
2025-12-16 19:35:50 -04:00
committed by GitHub
parent af1d938a50
commit cf0c28d5ae
2 changed files with 2 additions and 2 deletions

View File

@@ -339,7 +339,7 @@ class TestRangeify(unittest.TestCase):
def test_transformer_ffn(self):
from tinygrad.apps.llm import TransformerBlock
from tinygrad import nn
blk = TransformerBlock(1024, 4096, 1, 1, 1e-5)
blk = TransformerBlock(1024, 4096, 1, 1, 1e-5, head_dim=1024, rope_theta=10000.0)
for p in nn.state.get_parameters(blk): p.replace(Tensor.empty(p.shape))
x = Tensor.empty(128, 1024)

View File

@@ -232,7 +232,7 @@ import gc
def bufs_allocated() -> int:
gc.collect()
return sum([isinstance(x, Buffer) for x in gc.get_objects()])
return sum([type(x).__name__ == "Buffer" and type(x).__module__ == "tinygrad.device" for x in gc.get_objects()])
class TestVizGC(BaseTestViz):
def test_gc(self):