This commit is contained in:
2025-10-07 12:13:01 +08:00
parent 0a0cb0b9e8
commit 284db26a12
+1 -3
View File
@@ -45,7 +45,6 @@ instantiate_matmul_custom(float32, float);
from tinygrad import Device, Tensor, Context
if __name__ == "__main__":
# TODO: why isn't this type inferred?
device = Device["METAL"]
lib = device.compiler.compile(gemm)
prg = device.runtime("matmul_custom_float32", lib)
@@ -70,7 +69,6 @@ if __name__ == "__main__":
with Context(DEBUG=2):
ref = (a@b).realize()
val = (ref-c).mean()
print(val.item())
print((ref-c).mean().item())