modeld: fix 3s chestnut timeout (#39012)

modeld: restore 3s chestnut timeout
This commit is contained in:
Daniel Koepping
2026-09-24 14:59:23 -07:00
committed by GitHub
parent bbabd94c11
commit 027770d49c
+2 -1
View File
@@ -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")