Fix up latest openpilot model (#1976)

* fix gemv triggering for gemm

* fixup_openpilot

* external test issues
This commit is contained in:
George Hotz
2023-10-05 05:24:28 -07:00
committed by GitHub
parent 1862e14a4f
commit 2d0c1037b1
10 changed files with 58 additions and 25 deletions

View File

@@ -90,7 +90,7 @@ def check_gc():
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])
else:
x.op = derandomize(x.op)
return x