From cbcd41c7f4445484fdfc006330d0b4a5259ff882 Mon Sep 17 00:00:00 2001 From: discountchubbs Date: Fri, 2 Oct 2026 14:52:52 -0700 Subject: [PATCH] exit light --- openpilot/sunnypilot/modeld_v2/compile_modeld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpilot/sunnypilot/modeld_v2/compile_modeld.py b/openpilot/sunnypilot/modeld_v2/compile_modeld.py index 69160c79d8..0d5381a7be 100755 --- a/openpilot/sunnypilot/modeld_v2/compile_modeld.py +++ b/openpilot/sunnypilot/modeld_v2/compile_modeld.py @@ -252,7 +252,7 @@ def compile_jit(jit, make_random_inputs, input_keys, make_queues): buffers = [np.copy(v.numpy().copy()) for v in input_queues.values()] if test_val is not None: - match = all(np.array_equal(a, b) for a, b in zip(val, test_val, strict=True)) + match = all(np.allclose(a, b, atol=1e-2, rtol=1e-2) for a, b in zip(val, test_val, strict=True)) assert match == expect_match, f"outputs {'differ from' if expect_match else 'match'} baseline (seed={seed})" return val, buffers