compile big model in jenkins CI (#38822)

compile chestnut in ci
This commit is contained in:
Daniel Koepping
2026-09-08 15:37:12 -07:00
committed by GitHub
parent 60d8ae2d4f
commit 23d0474b95
3 changed files with 18 additions and 0 deletions
Vendored
+5
View File
@@ -252,6 +252,11 @@ node {
step("test amp", "./openpilot/common/hardware/comma/tests/test_amplifier.py"),
])
},
'chestnut': {
deviceStage("chestnut", "mici-chestnut-ci", ["UNSAFE=1", "CHESTNUT=1"], [
step("compile big model", "./openpilot/selfdrive/test/chestnut.sh"),
])
},
)
}
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
TARGET=openpilot/selfdrive/modeld/models/big_driving_tinygrad.pkl.chunkmanifest
rm -f "$TARGET"
scons --cache-disable "$TARGET"
test -s "$TARGET"
@@ -58,6 +58,12 @@ chmod +x $CONTINUE_PATH
export GIT_LFS_SKIP_SMUDGE=1
pull_lfs() {
if [ -n "${CHESTNUT:-}" ]
then
git lfs pull --exclude=''
return
fi
# The big driving model is not used on these devices yet. Keep its pointer in
# the worktree, but don't download or copy the 1.8 GB LFS object.
LFS_EXCLUDE="openpilot/selfdrive/modeld/models/big_driving_supercombo.onnx"