ttir-decomposition-for-ttmetal

Official

Decompose TTIR ops into primitives for TTMetal.

Authortenstorrent
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TTIR composite op decompositions enable lowering high-level TTIR ops into primitive TTIR ops for the TTMetal backend, when fused TTIR support is not available or desirable.

Core Features & Use Cases

  • Pattern-driven lowering: Add and register OpRewritePattern-based decompositions for ops like rms_norm, sdpa, layer_norm, softmax.
  • Pipeline integration: Ensure patterns are applied by TTIRDecomposeComposites with correct benefit ordering and TTMetal pipeline scheduling.
  • Testing & maintenance: Update tests and docs to validate the new decomposition path and maintain compatibility with TTNN backend when not triggered.

Quick Start

Define and register a new TTIR composite decomposition pattern to lower a high-level TTIR op into primitive TTIR ops for the TTMetal backend.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ttir-decomposition-for-ttmetal
Download link: https://github.com/tenstorrent/tt-mlir/archive/main.zip#ttir-decomposition-for-ttmetal

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.