Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
export-and-deployment【部署与运维】Export and deploy RF-DETR models to ONNX, TensorRT, TFLite, ExecuTorch, CoreML, and Roboflow with backend constraints and safe option checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about exporting RF-DETR models or choosing a deployment artifact. Do not use it for ordinary prediction, training, dataset validation, or repository maintenance.
RFDETR.export(...) contract, format aliases, backend compatibility, file naming, and optional dependencies, read export-reference.md.format="onnx" as the stable baseline unless the downstream runtime explicitly requires another artifact.format="tensorrt" for inference-models consumers; give inference-models a plain ONNX or checkpoint path and let it build/manage its own TensorRT engine.dynamic_batch=True for format="executorch" and format="coreml"; export one fixed-batch artifact per target batch size.backend="qnn" plus a target soc such as SM8650; do not assume the pip wheel contains the QNN delegate.format="coreml"; for the ExecuTorch CoreML delegate, use format="executorch", backend="coreml". These are different artifact families.python scripts/inspect_export_options.py --variant rfdetr-small --format onnx --shape 512 512
python scripts/inspect_export_options.py --variant rfdetr-small --format executorch --backend qnn --soc SM8650 --shape 512 512
The script is read-only: it imports metadata where available, reports optional-package readiness, validates options, and previews expected filename stems. It does not instantiate RF-DETR, download weights, trace models, or write export artifacts.