Commit Graph

22 Commits

Author SHA1 Message Date
Adeeb Shihadeh c089b82d95 AGNOS 20.4 (#39273) 2026-11-11 10:50:48 -08:00
Adeeb Shihadeh 090d1c825f release/pack: build the updater as a single file (#39295) 2026-11-10 21:05:11 -08:00
Adeeb Shihadeh 1c0851f490 Replace pack.py with a Nuitka build (#39291) 2026-11-10 15:46:21 -08:00
Harald Schäfer 493ae5ad0e Replace Git LFS with a custom Hugging Face bucket client (#39206)
* Replace Git LFS with a custom Hugging Face bucket client

* Address review findings in the custom LFS client

- A failed download leaves the pointer (also for delayed blobs) and
  filter.lfs.required is false, so git commands finish and ./lfs.py pull
  fills the files in later.
- install() also replaces the unquoted pre-push hook from #38775 and a stock
  git-lfs hook that `op post-commit` moved into post-commit.d.
- .git/lfs.py and the pre-push hook are replaced atomically.
- Pushing LFS objects without a token prints a one-line hint.
- op warns when the installed LFS client is missing or outdated.
- Ranged downloads write into one preallocated file instead of
  concatenating parts.
- hf-xet moves from the core dependencies to the tools extra.

* Drop the ~/.local/bin PATH addition left from the uv-run transfer agent

* Keep filter.lfs.required so a broken LFS client can't commit raw files

* Keep shipping .lfsconfig only with the big model

* Keep a custom pre-push hook instead of failing the LFS pull

* Let the setup clone use the configured LFS client

The HF LFS repo is mirrored from the bucket, so stock Git LFS can smudge the clone.

* Keep git working without python3 with an sh LFS filter

scripts/lfs-filter runs lfs.py, or without python3 has git abort LFS filtering and keep the pointer files, like the git-lfs shim did. A process filter that can't start otherwise makes git fail regardless of filter.lfs.required. The abort only lets git continue when the filter isn't required.

* Drop the sh LFS filter and require the LFS filter again

lfs.py lives in the git dir and only needs python3, so a missing or rebuilt
venv, or a worktree without one, can't break git like the old git-lfs shim
guarded against. The sh fallback for a machine without python3 needed
filter.lfs.required=false, which also let a failing clean commit the raw file.

This reverts commit 437711998981c8c7bf65c2878881c547516d681a.
2026-11-04 18:40:27 -08:00
Daniel Koepping ab1a112ce4 alfred: nightly and release builds (#39213) 2026-11-04 14:17:40 -08:00
Adeeb Shihadeh fa8babd944 Move HITL tests to UP (#39138) 2026-10-25 14:59:14 -07:00
Adeeb Shihadeh 1ace967a7e pack.py: include opendbc and check zipapps are self-contained (#39137) 2026-10-20 16:02:58 -07:00
Harald Schäfer 66fd3d1bd4 Ship precompiled Chestnut camera warps (#38991) 2026-09-22 10:02:10 -07:00
Harald Schäfer 1328ace068 Remove model chunking and use LFS for Chestnut releases (#38941)
* 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
2026-09-17 16:34:52 -07:00
Harald Schäfer 6080cc6168 Use a precompiled eGPU driving model (#38930)
* Ship precompiled eGPU model and camera warps

Compile f78ed37d-afad-4dbc-8050-40ea885eedde/12864 through xx/ml_tools/openpilot_compile using the pinned tinygrad version.

* Precompile the existing master driving model

Use the unchanged master ONNX (SHA-256 6fee5937923c74848df4a63f6239eb6331c6274dd4bdb7a5d6ec0388a8b543d5) instead of updating the trained model.

* Compile camera warps on device

* Remove obsolete ONNX chunking and big model build check

* Chunk model artifacts only during release packaging

* Require model and camera warps for Chestnut readiness

* Recompile precompiled CPU helpers for the runtime host

* Ship the eGPU model with an ARM submission helper

* Exempt model pickles from the build product size limit
2026-09-16 08:13:45 -07:00
Adeeb Shihadeh 64b4dbf115 add shellcheck-like static analysis (#38877) 2026-09-12 14:14:39 -07:00
Daniel Koepping e6f401b5cf build nightly-chestnut (#38849)
build nightly-chestnut
2026-09-10 17:38:04 -07:00
Adeeb Shihadeh 6bbdf8ad18 remove sentry (#38790) 2026-09-06 21:20:39 -07:00
Adeeb Shihadeh 047be14df9 release: speedup builds (#38644) 2026-08-16 15:25:19 -07:00
Adeeb Shihadeh 391132465d release: chestnut build scripts (#38638)
* release: chestnut build scripts

* simplify

* only max

* no new script

* release: exclude local virtualenv
2026-08-15 16:01:42 -07:00
Adeeb Shihadeh 48b7f171a7 release: speed up pushes by 9x (#38640) 2026-08-15 15:33:43 -07:00
Adeeb Shihadeh 98e7c4f987 replace pytest with lil custom runner (#38471) 2026-07-26 21:26:19 -07:00
Adeeb Shihadeh 9c312e91e7 release: include nested packages in PYTHONPATH (#38442) 2026-07-23 19:49:31 -07:00
Adeeb Shihadeh eb6c9c7f0d Run device tests directly (#38397) 2026-07-21 12:52:48 -07:00
Adeeb Shihadeh ebb5cc12f5 ci: don't pay the big model tax yet (#38371)
* ci: don't pay the big model tax yet

* skip big in release
2026-07-21 10:55:26 -07:00
Adeeb Shihadeh a26254304f Move eigen dependency into rednose (#38321)
* Move eigen dependency into rednose

* Declare complete rednose package dependencies

* Update rednose submodule

* Update rednose submodule

* Update rednose submodule

* Fix rednose dependency integration

* bump rednose
2026-07-11 12:59:49 -07:00
Adeeb Shihadeh addca46f68 move some tools back to root (#38235) 2026-06-24 19:21:19 -07:00