跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

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

3ddfa

免费

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

中文简介正在准备中。当前显示原文说明。

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

3ddfa-v2

免费

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

中文简介正在准备中。当前显示原文说明。

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

ab3dmot

免费

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

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年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-Skill3392026年9月3日 更新

acme

免费

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

中文简介正在准备中。当前显示原文说明。

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

查看 VectorSpaceLab 的全部技能

报告此技能的问题