Repository navigation
Commit 8fa3ce4
committed
Espressif: Add ESP-IDF component generator and wake word op profiles
build_idf_component.sh generates a self-contained, source-vendored
ESP-IDF component from this repository, modeled on the Arduino
packaging script:
- Schema headers generated with a host flatc (built from
third-party/flatbuffers when unavailable); consumers need only
ESP-IDF.
- Per-profile kernel registration via ExecuTorch selective-build
codegen. Profiles may mix aten:: ops (portable kernels) with
cadence:: ops (Cadence backend generic/portable kernels, via
backends/cadence/aot/functions.yaml with the selection filtered
to the profile's roots). Each profile gets its own generated
registration; Kconfig selects one without regeneration.
- Core runtime and kernel sources vendored from the same
build_variables.bzl lists the CMake build uses.
- VERSION records the ExecuTorch commit and per-profile op-set
SHA-256 + kernel counts, so model exports can be checked against
the vendored component.
Profile: wakeword_int8 (Hey Muse StreamingWakeWord,
Cadence-backend int8 export). README documents
the generated-component flow next to the existing executor runner.1 parent 6eff9fb commit 8fa3ce4
3 files changed
Lines changed: 867 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
11 | 43 | | |
12 | 44 | | |
13 | 45 | | |
| |||
0 commit comments