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

Relax restrictions when inserting ttnn.to_layout and ttnn.{to,from}_device ops #322

Open
wants to merge 65 commits into
base: main
Choose a base branch
from

Conversation

kevinwuTT
Copy link
Contributor

@kevinwuTT kevinwuTT commented Oct 18, 2024

Ticket

None

Problem description

ttnn.reshape has recently been updated to support more shapes. The compatibility workarounds that involved inserting ttnn.to_layout, ttnn.to_device, and ttnn.from_device can be relaxed. There are still a few issues still and they are tracked in the following bug reports:

TODO:

torch_ttnn/utils.py Outdated Show resolved Hide resolved
Copy link
Member

@ayerofieiev-tt ayerofieiev-tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seem to pass CI, but does it improve the situation in all models?

@kevinwuTT kevinwuTT marked this pull request as ready for review October 21, 2024 23:54
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.

4 participants