From 41c7f23a7477f000c323d34d449f093c05c96f24 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sat, 6 Jun 2026 03:07:38 -0400 Subject: [PATCH] send it --- sunnypilot/modeld_v2/compile_modeld.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sunnypilot/modeld_v2/compile_modeld.py b/sunnypilot/modeld_v2/compile_modeld.py index 2fed23194e..a5d98d48fc 100755 --- a/sunnypilot/modeld_v2/compile_modeld.py +++ b/sunnypilot/modeld_v2/compile_modeld.py @@ -58,8 +58,9 @@ def make_split_input_queues(vision_input_shapes, policy_input_shapes, frame_skip 'traffic_convention': np.zeros(tc, dtype=np.float32), 'tfm': np.zeros((3, 3), dtype=np.float32), 'big_tfm': np.zeros((3, 3), dtype=np.float32), - 'action_t': np.zeros(tc, dtype=np.float32), } + if 'action_t' in policy_input_shapes: + npy['action_t'] = np.zeros(tc, dtype=np.float32) handled = {'features_buffer', desire_key, 'traffic_convention', 'action_t'} for key, shape in policy_input_shapes.items():