multidevice test is fast

This commit is contained in:
George Hotz
2025-10-14 15:00:23 +08:00
parent 235cc39b96
commit 31bbcd729a
2 changed files with 8 additions and 8 deletions

View File

@@ -58,8 +58,8 @@ class TestExample(unittest.TestCase):
print(f"WARNING: {device} test isn't running")
return
x = Tensor.eye(64, device=device, requires_grad=True)
y = Tensor.eye(64, device=device, requires_grad=True)
x = Tensor.eye(8, device=device, requires_grad=True)
y = Tensor.eye(8, device=device, requires_grad=True)
z = y.matmul(x).sum()
z.backward()