From 4e5a9132e78d27e3ca5073b656acaf8a09fa9389 Mon Sep 17 00:00:00 2001 From: chenyu Date: Wed, 12 Nov 2025 20:12:45 -0800 Subject: [PATCH] JIT_BATCH_SIZE=0 in compile3 (#13245) fixed some enqueue time --- examples/openpilot/compile3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/openpilot/compile3.py b/examples/openpilot/compile3.py index def2e2c949..0c820c3ff0 100644 --- a/examples/openpilot/compile3.py +++ b/examples/openpilot/compile3.py @@ -1,5 +1,6 @@ import os, sys, pickle, time, re import numpy as np +if "JIT_BATCH_SIZE" not in os.environ: os.environ["JIT_BATCH_SIZE"] = "0" from tinygrad import fetch, Tensor, TinyJit, Context, GlobalCounters, Device, dtypes from tinygrad.helpers import DEBUG, getenv