mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
Fix up latest openpilot model (#1976)
* fix gemv triggering for gemm * fixup_openpilot * external test issues
This commit is contained in:
@@ -55,7 +55,7 @@ def helper_test(nm, gen, train, max_memory_allowed, max_kernels_allowed):
|
||||
def derandomize(x):
|
||||
if isinstance(x, LazyOp):
|
||||
if x.op == LoadOps.RAND: x.op = LoadOps.EMPTY
|
||||
x.src = [derandomize(s) for s in x.src]
|
||||
x.src = tuple([derandomize(s) for s in x.src])
|
||||
elif hasattr(x, "op"):
|
||||
x.op = derandomize(x.op)
|
||||
return x
|
||||
|
||||
Reference in New Issue
Block a user