mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 22:48:25 -05:00
lower schedule (#2559)
* lower schedule * remove RAND, and don't put load in the JIT yet * better fix for that test
This commit is contained in:
3
test/external/external_test_opt.py
vendored
3
test/external/external_test_opt.py
vendored
@@ -88,8 +88,9 @@ class TestInferenceMinKernels(unittest.TestCase):
|
||||
args_tiny = {"dim": 512, "hidden_dim": 1024, "n_heads": 8, "n_layers": 4, "norm_eps": 1e-05, "vocab_size": 1000}
|
||||
model = Transformer(**args_tiny)
|
||||
for p in get_parameters(model): p.assign(np.zeros(p.shape, dtype=p.dtype.np))
|
||||
inp = Tensor([[1,2,3,4]])
|
||||
with CLCache(100):
|
||||
model(Tensor([[1,2,3,4]]), 0).realize()
|
||||
model(inp, 0).realize()
|
||||
|
||||
@unittest.skipUnless(Device.DEFAULT == "GPU", "Not Implemented")
|
||||
class TestOptBinOp(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user