* models: dual-slot backend (qcom/usbgpu) with ref-based downloads
* models: restore get_active_source and the usbgpu-to-qcom fallback
* models: fix per-slot validation and cap mismatched-source refetches
* ui/models: select models by ref and seed the usbgpu slot on migration
* models: drop defensive attribute guards on capnp bundles
* models: remove vestigial fetcher state and dead fallbacks
* models: resolve the active bundle from the active source slot only
* models: pass the usbgpu kwarg through the modeld test stubs
* models: resolve the displayed model from the active slot in ui_state
* models: correct the validation memo type hint
* models: drop docstrings that restate the function name
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
* modeld_v2: spatial features
* Update fetcher.py
* dont reshape non 4 dim arrays
* realize for non compiled
* Update compile_modeld.py
* god dammit it was realize()
* it was fucking frozen tinygrad. just need to recompile
* bump
* ci: add is_big flag to metadata.json to support backward compat
* Update model_generator.py
* Update sunnypilot-build-model.yaml
* Update helpers.py
* Revert "Update helpers.py"
This reverts commit 3a955ca11a.
* Reapply "Update helpers.py"
This reverts commit ca9c6e1933.
* models: use less strict chestnut detection state
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
* ci: parallelize model chunk downloads and better publish
* ci: download all model chunks in parallel with xargs -P8
* split split
* ew
* must require
* ci: fix DM model build, separate HF defaults paths, nuke build races
* more split!
* name
* ci: download driving and DM model chunks into chestnut prebuilt output
* ci: compile default big model with stock modeld
* Revert "Revert big RL model (#38627)"
This reverts commit 516ec1e682.
* ci: compile default small model with stock modeld compiler
* ci: offload small model compilation
* Reapply "Revert big RL model (#38627)"
This reverts commit d06cfabb62.
* Reapply "Revert big RL model (#38627)"
This reverts commit d06cfabb62.
* ci: compile default big model with stock modeld
* Revert "Revert big RL model (#38627)"
This reverts commit 516ec1e682.
* ci: compile default small model with stock modeld compiler
* Reapply "Revert big RL model (#38627)"
This reverts commit d06cfabb62.
* Fix UI path color and thickness based on lateral steering state (Issue #1441)
* Fix UI path color and thickness based on lateral control engagement (Issue #1441)
* Fix UI path width and color based on MADS lateral engagement (Issue #1441)
* Fix UI path width and color based on MADS lateral engagement (Issue #1441)
* move to ModelRendererSP
* match torque bar
* same behavior across the board
* simplify
---------
Co-authored-by: Brennan Browne <brennanbrowne@google.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
* Revert "ui: fix text and icon overlap on button (#38628)"
This reverts commit d9c4120f89.
* simple
* can do this
* fix eliding
* Revert "fix eliding"
This reverts commit b271a350182ad87f9942d7363383ee8ec72d0e36.
* clean up
* clean up
* Name the big default model in the device UI
Build on the default big-model metadata from #1929 and resolve the displayed model from cached capability and modeld runtime state. Keep model selection behavior unchanged.
Assisted-by: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Remove get_default_model_label
* simplify
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: nayan <nayan8teen@gmail.com>