界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

qualcomm

qualcomm

【开发与工程】Build, export, test, and debug ExecuTorch Qualcomm QNN backend workflows, including QNN SDK setup, compile specs, model enablement, Buck/CMake parity, and intermediate-output accuracy triage.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: qualcomm description: "Build, export, test, and debug ExecuTorch Qualcomm QNN backend workflows, including QNN SDK setup, compile specs, model enablement, Buck/CMake parity, and intermediate-output accuracy triage." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

qualcomm

Use this sub-skill when the user mentions Qualcomm, QNN, AI Engine Direct, HTP, Hexagon, QNN SDK, Qualcomm Android SoCs, QNN delegate tests, QNN accuracy divergence, or QNN Buck/CMake parity.

First Route

Hard Prerequisites

QNN workflows require SDK/toolchain state that a generic CPU environment cannot prove. Confirm QNN_SDK_ROOT, Android NDK path, target SoC model, device serial/host if running on device, and build directory before issuing run commands.

Bundled Planner

Generate a safe command plan without touching SDKs or devices:

python scripts/plan_qnn_command.py --soc SM8750 --build-dir build-android --artifact-dir /tmp/qnn-artifacts --device SERIAL
python scripts/plan_qnn_command.py --soc SM8750 --x86 --compile-only

The planner prints command templates and required environment variables; it does not build, install, push to a device, or download SDKs.

Cross-Links

  • Use ../llm-workflows/SKILL.md for Llama/LLM model-asset planning before QNN backend execution.
  • Use ../profiling-debugging/SKILL.md for generic ETDump/Inspector work; return here for QNN-specific intermediate-output/debugger workflows.
  • Use ../setup-build/SKILL.md for generic CMake/Python environment failures.
我的收藏