From cd2c590d50ee8301cdf10a9ae6565d488a1c03e8 Mon Sep 17 00:00:00 2001 From: Christopher Milan Date: Wed, 17 Jun 2026 11:24:11 -0700 Subject: [PATCH] bump tinygrad (#38176) * bump tinygrad * wip: try this * origin/master --------- Co-authored-by: Adeeb Shihadeh Co-authored-by: Comma Device --- selfdrive/modeld/compile_modeld.py | 4 ++-- tinygrad_repo | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/modeld/compile_modeld.py b/selfdrive/modeld/compile_modeld.py index 09e8d06c7c..069e39091a 100755 --- a/selfdrive/modeld/compile_modeld.py +++ b/selfdrive/modeld/compile_modeld.py @@ -51,8 +51,8 @@ def warp_perspective_tinygrad(src_flat, M_inv, dst_shape, src_shape, stride_pad, w_dst, h_dst = dst_shape h_src, w_src = src_shape - x = Tensor.arange(w_dst, device=WARP_DEV).reshape(1, w_dst).expand(h_dst, w_dst).reshape(-1) - y = Tensor.arange(h_dst, device=WARP_DEV).reshape(h_dst, 1).expand(h_dst, w_dst).reshape(-1) + x = Tensor.arange(w_dst).reshape(1, w_dst).expand(h_dst, w_dst).reshape(-1) + y = Tensor.arange(h_dst).reshape(h_dst, 1).expand(h_dst, w_dst).reshape(-1) # inline 3x3 matmul as elementwise to avoid reduce op (enables fusion with gather) src_x = M_inv[0, 0] * x + M_inv[0, 1] * y + M_inv[0, 2] diff --git a/tinygrad_repo b/tinygrad_repo index 5039d954f2..443f976305 160000 --- a/tinygrad_repo +++ b/tinygrad_repo @@ -1 +1 @@ -Subproject commit 5039d954f27fd4d4ebeb76951e9933f17985c1a4 +Subproject commit 443f976305038c113cc7836799967da738c5b77e