From 6c535e2be9a5dbbd44876d15bc7dc3d4537ad9a2 Mon Sep 17 00:00:00 2001 From: nayan Date: Sat, 25 Jul 2026 12:44:05 -0400 Subject: [PATCH] is this it --- .github/workflows/sunnypilot-build-model.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sunnypilot-build-model.yaml b/.github/workflows/sunnypilot-build-model.yaml index 708be08ac4..c6bd72ba0e 100644 --- a/.github/workflows/sunnypilot-build-model.yaml +++ b/.github/workflows/sunnypilot-build-model.yaml @@ -168,9 +168,9 @@ jobs: uses: actions/download-artifact@v4 with: name: models-${{ env.REF }}${{ inputs.artifact_suffix }} - path: ${{ github.workspace }}/openpilot/openpilot/selfdrive/modeld/models + path: ${{ github.workspace }}/openpilot/selfdrive/modeld/models - run: | - rm -f ${{ github.workspace }}/openpilot/openpilot/selfdrive/modeld/models/{dmonitoring_model,big_driving_policy,big_driving_vision,big_driving_supercombo}.onnx + rm -f ${{ github.workspace }}/openpilot/selfdrive/modeld/models/{dmonitoring_model,big_driving_policy,big_driving_vision,big_driving_supercombo}.onnx - name: Build Model run: | @@ -179,7 +179,7 @@ jobs: export VIRTUAL_ENV=$UV_PROJECT_ENVIRONMENT export PYTHONPATH="${PYTHONPATH}:${{ env.TINYGRAD_PATH }}:${{ github.workspace }}" - COMPILE_MODELD="${{ github.workspace }}/openpilot/openpilot/sunnypilot/modeld_v2/compile_modeld.py" + COMPILE_MODELD="${{ github.workspace }}/openpilot/sunnypilot/modeld_v2/compile_modeld.py" MODEL_SIZE=$(python3 -c "from openpilot.common.transformations.model import MEDMODEL_INPUT_SIZE as s; print(f'{s[0]}x{s[1]}')") CAMERA_RES=$(python3 -c "from openpilot.common.transformations.camera import _ar_ox_fisheye as a, _os_fisheye as o; print(f'{a.width}x{a.height} {o.width}x{o.height}')") @@ -197,7 +197,7 @@ jobs: # Generate metadata for all ONNX files find "${{ env.MODELS_DIR }}" -maxdepth 1 -name '*.onnx' | while IFS= read -r onnx_file; do echo "Generating metadata: $onnx_file" - env ${TG_FLAGS} python3 "${{ github.workspace }}/openpilot/openpilot/selfdrive/modeld/get_model_metadata.py" "$onnx_file" || true + env ${TG_FLAGS} python3 "${{ github.workspace }}/openpilot/selfdrive/modeld/get_model_metadata.py" "$onnx_file" || true done # Detect model type and build compile args