wrong path again

This commit is contained in:
Jason Wen
2025-01-05 08:04:49 -05:00
parent 23dd423e78
commit f5301c19d5
+1 -1
View File
@@ -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/tinygrad_repo").abspath}/openpilot/compile2.py {fn}.onnx {fn}.thneed'
cmd = f'{pythonpath_string} {tinygrad_opts} python3 {Dir("#sunnypilot/tinygrad_repo").abspath}/tinygrad/openpilot/compile2.py {fn}.onnx {fn}.thneed'
lenv.Command(fn + ".thneed", [fn + ".onnx"] + tinygrad_files, cmd)