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

Fix issue with ttnn.from_torch(...) when using MeshDevice #17979

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

cfjchu
Copy link
Collaborator

@cfjchu cfjchu commented Feb 18, 2025

Ticket

Link to Github Issue

Problem description

  • Customer reported issue for using ttnn.distribute(..) API using ttnn.from_torch(..., dtype=bfloat8_b).

What's changed

  • To match parity in behavior without using ttnn.distribute(mesh_mapper=...) ctx manager, we need to explicitly pass in mesh_mapper=None.

Checklist

@cfjchu cfjchu force-pushed the jchu/fix-from-torch-distribute-api branch from 243a961 to 0ce3f56 Compare February 19, 2025 00:33
@cfjchu cfjchu force-pushed the jchu/fix-from-torch-distribute-api branch from 0ce3f56 to c79dd57 Compare February 19, 2025 09:04
@cfjchu cfjchu merged commit 7193d38 into main Feb 19, 2025
211 checks passed
@cfjchu cfjchu deleted the jchu/fix-from-torch-distribute-api branch February 19, 2025 10:22
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.

3 participants