From 227b5cf82ac7ace1e86d5a568c3fb2a0b5d95b2f Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Thu, 27 Aug 2026 12:25:23 -0500 Subject: [PATCH] gpu --- scripts/model_compiler.py | 2 +- starpilot/assets/tests/test_model_pipeline.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/model_compiler.py b/scripts/model_compiler.py index f3db6079d..e39e447fd 100644 --- a/scripts/model_compiler.py +++ b/scripts/model_compiler.py @@ -553,7 +553,7 @@ def compile_driving( for qcom_only_flag in ("IMAGE", "NOLOCALS", "OPENPILOT_HACKS"): compile_env.pop(qcom_only_flag, None) compile_env.update({ - "DEBUG": "2", + "DEBUG": "1", "DEV": "USB+AMD:LLVM", "WARP_DEV": "QCOM", "FLOAT16": "1", diff --git a/starpilot/assets/tests/test_model_pipeline.py b/starpilot/assets/tests/test_model_pipeline.py index ae70ef119..2f3b5be99 100644 --- a/starpilot/assets/tests/test_model_pipeline.py +++ b/starpilot/assets/tests/test_model_pipeline.py @@ -108,6 +108,7 @@ def test_external_gpu_compilation_is_opt_in(tmp_path, monkeypatch): assert normal_kwargs["env"]["DEV"] == "QCOM" assert normal_kwargs["env"]["IMAGE"] == "2" assert "--out-of-band" in external_command + assert external_kwargs["env"]["DEBUG"] == "1" assert external_kwargs["env"]["DEV"] == "USB+AMD:LLVM" assert external_kwargs["env"]["WARP_DEV"] == "QCOM" assert all(flag not in external_kwargs["env"] for flag in ("IMAGE", "NOLOCALS", "OPENPILOT_HACKS"))