本文へ移動
cccskills
無料GitHub で公開

executorch

Use 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.

インストール方法を見る

含まれるファイル(46)

  • SKILL.md3.7 KB
  • references/package-overview.md2.6 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json537 B
  • references/troubleshooting.md3.1 KB
  • scripts/check_import_surface.py1.3 KB
  • sub-skills/backend-selection/references/backend-export-patterns.md1.5 KB
  • sub-skills/backend-selection/references/backend-matrix.md2.2 KB
  • sub-skills/backend-selection/references/troubleshooting.md1.1 KB
  • sub-skills/backend-selection/scripts/check_backend_imports.py1.8 KB
  • sub-skills/backend-selection/SKILL.md2.5 KB
  • sub-skills/binary-size/references/binary-size-workflow.md1.2 KB
  • sub-skills/binary-size/references/troubleshooting.md859 B
  • sub-skills/binary-size/scripts/compare_binary_sizes.py1.1 KB
  • sub-skills/binary-size/SKILL.md1.3 KB
  • sub-skills/cortex-m/references/api-reference.md1.3 KB
  • sub-skills/cortex-m/references/cortex-m-workflows.md1.1 KB
  • sub-skills/cortex-m/references/troubleshooting.md740 B
  • sub-skills/cortex-m/scripts/plan_cortex_m_test.py1.3 KB
  • sub-skills/cortex-m/SKILL.md1.4 KB
  • sub-skills/export-runtime/references/api-reference.md2.1 KB
  • sub-skills/export-runtime/references/export-workflows.md2.1 KB
  • sub-skills/export-runtime/references/runtime-integration.md1.6 KB
  • sub-skills/export-runtime/references/troubleshooting.md1.7 KB
  • sub-skills/export-runtime/scripts/export_smoke.py2.7 KB
  • sub-skills/export-runtime/SKILL.md5.2 KB
  • sub-skills/llm-workflows/references/llm-workflows.md1.6 KB
  • sub-skills/llm-workflows/references/model-and-backend-notes.md1021 B
  • sub-skills/llm-workflows/references/troubleshooting.md879 B
  • sub-skills/llm-workflows/scripts/plan_llm_export.py1.8 KB
  • sub-skills/llm-workflows/SKILL.md1.6 KB
  • sub-skills/profiling-debugging/references/api-reference.md984 B
  • sub-skills/profiling-debugging/references/profiling-workflows.md1.5 KB
  • sub-skills/profiling-debugging/references/troubleshooting.md988 B
  • sub-skills/profiling-debugging/scripts/inspect_etdump_summary.py1.4 KB
  • sub-skills/profiling-debugging/SKILL.md2.0 KB
  • sub-skills/qualcomm/references/buck-cmake-parity.md1020 B
  • sub-skills/qualcomm/references/qualcomm-workflows.md1.9 KB
  • sub-skills/qualcomm/references/troubleshooting.md1.8 KB
  • sub-skills/qualcomm/scripts/plan_qnn_command.py1.9 KB
  • sub-skills/qualcomm/SKILL.md2.1 KB
  • sub-skills/setup-build/references/build-and-install.md4.1 KB
  • sub-skills/setup-build/references/test-and-maintenance.md1.8 KB
  • sub-skills/setup-build/references/troubleshooting.md1.5 KB
  • sub-skills/setup-build/scripts/check_executorch_env.py2.3 KB
  • sub-skills/setup-build/SKILL.md4.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

ExecuTorch

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.

Start Here

  1. Classify the user's goal before reading deep references:
    • Install, build, configure CMake, cross-compile, or pick tests: sub-skills/setup-build/SKILL.md.
    • Export a PyTorch model, create .pte/.ptd, or validate runtime loading: sub-skills/export-runtime/SKILL.md.
    • Choose or configure XNNPACK, Core ML, MPS/Metal, Vulkan, CUDA/AOTI, OpenVINO, MediaTek, NXP, Samsung, Cadence, or Arm VGF backends: sub-skills/backend-selection/SKILL.md.
    • Use the Qualcomm QNN backend, QNN SDK, Android device tests, Buck/CMake parity, or QNN intermediate-output debugging: sub-skills/qualcomm/SKILL.md.
    • Use Cortex-M/CMSIS-NN, Arm embedded quantization, FVP, or bare-metal tests: sub-skills/cortex-m/SKILL.md.
    • Generate or inspect ETRecord/ETDump, use Inspector, visualize graphs, or triage accuracy/performance: sub-skills/profiling-debugging/SKILL.md.
    • Export/run LLMs, plan export_llm or Optimum ExecuTorch commands, or build LLM runners: sub-skills/llm-workflows/SKILL.md.
    • Measure/reduce binary size or compare stripped binaries: sub-skills/binary-size/SKILL.md.
  2. For mixed workflows, route through the narrowest owner first, then cross-link. Example: a dynamic-shape CV model with XNNPACK and ETRecord starts in export-runtime, reads backend-selection for XNNPACK, then reads profiling-debugging for ETRecord/Inspector.
  3. Treat hardware/vendor SDK/device workflows as conditional. A CPU import or export smoke proves Python/export plumbing, not QNN/Core ML/MPS/Vulkan/CUDA/Arm implementation behavior.

Package and Runtime Baseline

  • Public package name: executorch; import namespace: executorch.
  • Python support from package metadata: Python 3.10 through 3.14.
  • The direct export path is torch.export.export(...) followed by executorch.exir.to_edge_transform_and_lower(...) and .to_executorch().
  • The higher-level experimental export surface is executorch.export.export(...) with ExportRecipe, LoweringRecipe, and QuantizationRecipe.
  • Python runtime loading with 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.

Minimal Checks

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.

Shared References

  • Read references/package-overview.md for source/package layout, public artifacts, and terminology.
  • Read references/troubleshooting.md for cross-cutting installation, import, backend, runtime, and source-build failures.
  • Read references/repo-provenance.md before deciding whether this skill is current for another ExecuTorch checkout.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3312026年9月3日 更新

3ddfa

無料

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3312026年9月3日 更新

3ddfa-v2

無料

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3312026年9月3日 更新

ab3dmot

無料

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3312026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3312026年9月3日 更新

acme

無料

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3312026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する