brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
executorchUse ExecuTorch to export PyTorch models to edge runtime artifacts, build host/device runtimes, choose delegates, profile/debug execution, and operate specialized Qualcomm, Cortex-M, LLM, and binary-size workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when the task involves ExecuTorch, the executorch Python package, .pte or .ptd artifacts, EXIR/export lowering, on-device runtime integration, ExecuTorch backends/delegates, or ExecuTorch build/profiling/debugging workflows.
sub-skills/setup-build/SKILL.md..pte/.ptd, or validate runtime loading: sub-skills/export-runtime/SKILL.md.sub-skills/backend-selection/SKILL.md.sub-skills/qualcomm/SKILL.md.sub-skills/cortex-m/SKILL.md.sub-skills/profiling-debugging/SKILL.md.export_llm or Optimum ExecuTorch commands, or build LLM runners: sub-skills/llm-workflows/SKILL.md.sub-skills/binary-size/SKILL.md.export-runtime, reads backend-selection for XNNPACK, then reads profiling-debugging for ETRecord/Inspector.executorch; import namespace: executorch.torch.export.export(...) followed by executorch.exir.to_edge_transform_and_lower(...) and .to_executorch().executorch.export.export(...) with ExportRecipe, LoweringRecipe, and QuantizationRecipe.executorch.runtime.Runtime and executorch.extension.pybindings.portable_lib requires a build or wheel that includes the native pybindings. If imports fail with missing _portable_lib, route to setup-build before debugging model logic.Use these checks only in an environment where ExecuTorch is installed or a source checkout is intentionally on PYTHONPATH:
python - <<'PY'
from executorch.exir import to_edge_transform_and_lower
print("EXIR import OK", callable(to_edge_transform_and_lower))
PY
For a more complete read-only diagnostic, run the bundled helper:
python scripts/check_import_surface.py
The helper reports import surfaces and optional backend modules without installing packages, downloading models, or building targets.
references/package-overview.md for source/package layout, public artifacts, and terminology.references/troubleshooting.md for cross-cutting installation, import, backend, runtime, and source-build failures.references/repo-provenance.md before deciding whether this skill is current for another ExecuTorch checkout.