From d91c43a88f20ad6bfdd68c625feb384e9778ec5f Mon Sep 17 00:00:00 2001 From: James Vecellio-Grant <159560811+Discountchubbs@users.noreply.github.com> Date: Thu, 5 Nov 2026 11:16:04 -0800 Subject: [PATCH] Update helpers.py --- openpilot/sunnypilot/modeld_v2/helpers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/openpilot/sunnypilot/modeld_v2/helpers.py b/openpilot/sunnypilot/modeld_v2/helpers.py index f9e3a54fa9..1a463e0c2f 100644 --- a/openpilot/sunnypilot/modeld_v2/helpers.py +++ b/openpilot/sunnypilot/modeld_v2/helpers.py @@ -264,7 +264,6 @@ def _program_uop(call: dict, lib: bytes): parameter = UOp.param(call["globals"][compact_slot], _dtype(dtype), math.prod(shape)) image = (shape[0], shape[1]) if len(shape) == 3 and shape[2] == 4 else None parameters.append(parameter.replace(arg=_fields(parameter.arg, name=name, image=image))) - # params: since tinygrad af8961676 the launch lays out only the args listed here info = _fields(ProgramInfo, global_size=tuple(call["global_size"]), local_size=tuple(call["local_size"]), params=tuple(parameters), globals=tuple(call["globals"]), outs=tuple(call["outs"]), ins=tuple(call["ins"]), target=_fields(Target, **call["target"])) return UOp(Ops.PROGRAM, src=(UOp(Ops.SINK, arg=KernelInfo(name=call["name"])), UOp(Ops.LINEAR, src=tuple(parameters)),