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

#16758: Move mesh_composer call to after ttnn.from_device in ttnn.to_torch #17054

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

TT-BrianLiu
Copy link
Contributor

@TT-BrianLiu TT-BrianLiu commented Jan 23, 2025

Ticket

Link to Github Issue

Problem description

Inside ttnn.to_torch, need to call ttnn.from_device first to leverage multi-threaded code.

What's changed

  • Use ttnn.from_device to convert multi-device tensors first
  • This fixes pref regression for falcon demo tests

Checklist

…torch

- Use ttnn.from_device to convert multi-device tensors first
- This fixes pref regression for falcon demo tests
@TT-BrianLiu TT-BrianLiu merged commit cb88b6a into main Jan 24, 2025
231 of 232 checks passed
@TT-BrianLiu TT-BrianLiu deleted the jedi branch January 24, 2025 16:32
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