Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ToLayout op folding #2292

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

sdjordjevicTT
Copy link
Contributor

Ticket

Closes #2102

Problem description

In certain passes, we add multiple TTNN ToLayoutOps and have an assertion check in LayoutDecomposition to identify redundant ToLayoutOps.

What's changed

A new folder has been created for TTNN ToLayoutOps that folds them when a redundant ToLayoutOp is detected.

Checklist

  • New/Existing tests provide coverage for changes

@sdjordjevicTT sdjordjevicTT force-pushed the sdjordjevic/fold_to_layout_op branch 2 times, most recently from 95d69d0 to 9ff2466 Compare February 26, 2025 13:40
@sdjordjevicTT sdjordjevicTT force-pushed the sdjordjevic/fold_to_layout_op branch from 9ff2466 to baf4a4d Compare February 26, 2025 21:29
@sdjordjevicTT sdjordjevicTT merged commit 009640c into main Feb 27, 2025
31 checks passed
@sdjordjevicTT sdjordjevicTT deleted the sdjordjevic/fold_to_layout_op branch February 27, 2025 15:22
jserbedzijaTT pushed a commit that referenced this pull request Mar 1, 2025
### Ticket
Closes #2102

### Problem description
In certain passes, we add multiple TTNN ToLayoutOps and have an
assertion check in LayoutDecomposition to identify redundant
ToLayoutOps.

### What's changed
A new folder has been created for TTNN ToLayoutOps that folds them when
a redundant ToLayoutOp is detected.

### Checklist
- [x] New/Existing tests provide coverage for changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Workaround Pass] Redundant toLayout ops are not removed
3 participants