From 027770d49cbbd136f2573ceaa29925875cc1c291 Mon Sep 17 00:00:00 2001 From: Daniel Koepping Date: Thu, 24 Sep 2026 14:59:23 -0700 Subject: [PATCH] modeld: fix 3s chestnut timeout (#39012) modeld: restore 3s chestnut timeout --- openpilot/selfdrive/modeld/modeld.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openpilot/selfdrive/modeld/modeld.py b/openpilot/selfdrive/modeld/modeld.py index ee76d72f46..0d90f1225e 100755 --- a/openpilot/selfdrive/modeld/modeld.py +++ b/openpilot/selfdrive/modeld/modeld.py @@ -231,7 +231,8 @@ def main(demo=False): CHESTNUT = chestnut_compiled() and (chestnut_present() or cable_connected()) if CHESTNUT: - os.environ['HCQDEV_WAIT_TIMEOUT_MS'] = '3000' + from tinygrad.runtime.ops_amd import AMDDevice + AMDDevice.wait_timeout_ms = 3000 params = Params() params.put_bool("ChestnutLoading", CHESTNUT) params.remove("ChestnutActive")