Index of every page on this site: llms.txt
All skills
openvinotoolkit avatar

/add-fe-op

@993f33e
Run it yourself

Adds a new operation to OpenVINO Frontend pipelines with translator updates, registration, and tests.

  • 7 files
  • 41.5 KB
  • Updated 6 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/openvinotoolkit/openvino/add-fe-op

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

step4-testing.md

≈580 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Skill: FE Op Testing

Source: skills/add-fe-op/SKILL.md (Steps 4, 5, 6)

Prerequisites

  • Completed fe_op_registration — translator file and registration entries are in place.

Writing Tests

Follow the test patterns described in the per-frontend skill files:

  • PyTorch: pytorch.md §5 — PytorchLayerTest class structure, TorchScript and FX paths, @pytest.mark.nightly / @pytest.mark.precommit
  • ONNX: onnx.md §6 — .prototxt test model and C++ GTest pattern
  • TensorFlow / generic: follow naming conventions in tests/layer_tests/tensorflow_tests/

Look at tests for a similar existing op in the same directory as the starting point.


Conversion Validation

After writing translator and registration, run the end-to-end conversion check using the verify-conversion skill:

Read and follow: skills/verify-conversion/SKILL.md

The skill auto-detects the conversion path (optimum-intel / ovc / convert_model) and runs a numerical sanity check. Report the outcome (validation=pass|fail|blocked) back to the FE Agent before generating the patch.


Git Patch Generation

After translator, registration, and test files are written, generate a patch file. Run:

python .github/scripts/meat/generate_patch.py --component fe_<frontend> --op <op_name>

Place the resulting .patch file in agent-results/frontend/patches/.


Save Patch and Report

Write the patch path and validation status to the FE Agent output file:

python .github/scripts/meat/record_result.py --agent frontend --op <op_name> --patch <patch_path> --validation <pass|fail|blocked>

Reporting States

State Meaning
success Real translation in place, conversion produces OV graph nodes, tests written
partial Fallback stub in place — model does not crash, but no real OV graph yet
blocked Validation could not run (installed OV does not contain FE patch)
failed Translator or test produced errors

Output

  • Test files created and ready for commit.
  • Git patch file: patches/fe_<op_name>_<frontend>.patch
  • Patch available in agent-results/pytorch-fe/patches/.
  • Validation status reported back to FE Agent.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 993f33e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 14 hours ago.

Activeupdated 6 months ago

README badge

README badge for openvinotoolkit/openvino/add-fe-op