mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-10-25 22:13:43 +08:00
1328ace068
* Remove model chunking and use LFS for Chestnut releases * Check Git blob sizes once during release packaging * Download the big model for Chestnut nightly builds * Reuse published LFS models when pushing releases * Preserve LFS configuration when copying Chestnut releases * Detect release builds independently of LFS attributes
10 lines
347 B
Bash
10 lines
347 B
Bash
#!/usr/bin/env bash
|
|
|
|
if [ -n "$INCLUDE_BIG_MODEL" ]; then
|
|
echo 'openpilot/selfdrive/modeld/models/big_driving_tinygrad.pkl filter=lfs diff=lfs merge=lfs -text' > .gitattributes
|
|
fi
|
|
|
|
# Reset filters and hooks since releases exclude .venv.
|
|
git config --local core.hooksPath "$(git rev-parse --git-common-dir)/hooks"
|
|
git lfs install --local --force
|