Add Op

How to add a new operation (op) to the tt-mlir compiler across all layers: TTIR/TTNN dialect definitions, StableHLO composite conversion, TTIR-to-TTNN conversion, EmitC/EmitPy conversions, flatbuffer schema and serialization, runtime implementation, OpModel, ttir_builder, golden functions, and all associated tests. Use this skill whenever the user asks to add an op, implement an op, create a new operation, add support for a TTNN op, or mentions adding an op to the compiler pipeline. Also trigger when the user wants to know what files to change for a new op, or asks about the op-adding workflow.

tenstorrent 669490f 10 files · 368.2 KB Updated

File contents

tenstorrent/tt-mlir/tree/main/.claude/skills/add-op commit 669490f115

Frequently asked questions

npx skillmds@latest add tenstorrent/add-op