一键导入
add-fusion-transformation
Adds a new OpenVINO fusion transformation (subgraph to one or several operations) and corresponding tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adds a new OpenVINO fusion transformation (subgraph to one or several operations) and corresponding tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Write unit tests for OpenVINO ov::Model graph transformations (passes). Use when the user asks to write, add, or refactor tests for a transformation pass (MatcherPass, ModelPass), or to modernize legacy transformation tests.
Troubleshooting all sorts of failures, crashes, exceptions and errors using debug capabilities. Analyze accuracy, performance, model compilation, or memory issues. Dump tensors and intermediate blobs. Serialize and visualize IRs, execution graphs. Enable verbose, logging. Profile execution. Compare layer outputs. Inspect, trace or dump transformations. Identify executed operations, nodes, primitives, kernels.
Upgrade the PyTorch version used by OpenVINO tests (torch / torchvision / torchaudio) and resolve fallout — missing operator translators, new functionalized `*_copy` aten ops, decomposition changes, FX-only tests failing in TorchScript mode, and accuracy regressions caused by stricter typing. Use when the user asks to "bump torch", "update pytorch to X.Y", "upgrade torch tests", or when pytorch_tests / model_hub pytorch tests fail after a torch version change. Do not use for: enabling a single new PyTorch operator unrelated to a version bump, GenAI / Optimum upgrades, or plugin-level numerical bugs unrelated to the frontend.
Adds a core operator to the OpenVINO toolkit. Use when asked to implement a new operation into OpenVINO.
Add a new operation to the OpenVINO CPU plugin — node registration, JIT/oneDNN executors (AVX2/AVX-512/AMX), and functional tests.
Adds a new operation to OpenVINO Frontend pipelines with translator updates, registration, and tests.
| name | add-fusion-transformation |
| description | Adds a new OpenVINO fusion transformation (subgraph to one or several operations) and corresponding tests. |
Provide an instruction-only workflow to implement a new OpenVINO graph fusion transformation that replaces a matched subgraph with one operation (or a compact operation sequence), including regression tests.
Expected outcome:
This workflow applies to OpenVINO transformation development in openvino/ for:
Fusion transformations — pattern-based graph fusion that replaces a matched subgraph with:
Decomposition transformations — pattern-based replacement that expands a complex op into a sequence of simpler, already-supported ops:
The workflow covers:
Model Graph → Pattern Matcher Pass → Subgraph Replacement → Validation/Inference Tests
openvino/ ├─ src/common/transformations/ │ ├─ include/transformations/ │ │ └─ /<fusion_name>.hpp │ ├─ src/transformations/ │ │ └─ /<fusion_name>.cpp │ ├─ src/transformations/common_optimizations/ │ │ └─ common_optimizations.cpp (or relevant pipeline file) │ └─ tests/ │ ├─ common_optimizations/ │ │ └─ <fusion_name>.cpp │ └─ utils/ └─ tests/ └─ layer_tests/ or functional/ (if user-visible behavior/perf contract is affected)
ov::pass::MatcherPass for local rewrite; use GraphRewrite only when grouping multiple related matchers.rt_info where expected.