From f09b04c267d01efddbd45457252a4884a5da0eca Mon Sep 17 00:00:00 2001 From: James Vecellio-Grant <159560811+Discountchubbs@users.noreply.github.com> Date: Sun, 18 Oct 2026 16:14:06 -0700 Subject: [PATCH] ci: upload big model over lfs (#2063) ci: push chestnut via lfs --- .github/workflows/sunnypilot-build-prebuilt.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sunnypilot-build-prebuilt.yaml b/.github/workflows/sunnypilot-build-prebuilt.yaml index 78305f3fb..29e03a843 100644 --- a/.github/workflows/sunnypilot-build-prebuilt.yaml +++ b/.github/workflows/sunnypilot-build-prebuilt.yaml @@ -594,8 +594,14 @@ jobs: - name: Publish chestnut branch env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | CHESTNUT_BRANCH="${{ needs.prepare_strategy.outputs.new_branch }}-chestnut" + cp .lfsconfig "${{ env.OUTPUT_DIR }}/" + echo 'openpilot/selfdrive/modeld/models/big_*_tinygrad.pkl filter=lfs diff=lfs merge=lfs -text' > "${{ env.OUTPUT_DIR }}/.gitattributes" + git lfs install + git config --global credential.helper store + echo "https://user:${HF_TOKEN}@huggingface.co" > ~/.git-credentials ${{ env.CI_DIR }}/publish.sh \ "${{ github.workspace }}" \