From 485eef68da981da571fe9a9ebf3aecdb95e5588c Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sun, 5 Jan 2025 08:27:23 -0500 Subject: [PATCH] fix file name --- sunnypilot/modeld/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunnypilot/modeld/SConscript b/sunnypilot/modeld/SConscript index 20b4ae79ca..17fa3016cf 100644 --- a/sunnypilot/modeld/SConscript +++ b/sunnypilot/modeld/SConscript @@ -66,7 +66,7 @@ if arch == "larch64" or GetOption('pc_thneed'): if not GetOption('pc_thneed'): # use FLOAT16 on device for speed + don't cache the CL kernels for space tinygrad_opts = 'FLOAT16=1 PYOPENCL_NO_CACHE=1' - cmd = f'{pythonpath_string} {tinygrad_opts} python3 {Dir("#sunnypilot/modeld").abspath}/redirect_tinygrad.py {fn}.onnx {fn}.thneed' + cmd = f'{pythonpath_string} {tinygrad_opts} python3 {Dir("#sunnypilot/modeld").abspath}/run_compile.py {fn}.onnx {fn}.thneed' lenv.Command(fn + ".thneed", [fn + ".onnx"] + tinygrad_files, cmd)