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

#10755: visualize DeviceMesh via ttnn.visualize(device_mesh) api #11094

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

cfjchu
Copy link
Collaborator

@cfjchu cfjchu commented Aug 5, 2024

Ticket

Link to Github Issue

Problem description

This adds visualization support for DeviceMesh. This should help visualized device ID enumeration and how it's mapped to logical 2D grid.

What's changed

There is a new ttnn.visualize_device_mesh(device_mesh) API that can be used to visualize the mesh of devices. This is just a simple implementation to help visualize.

Example output:
image

Checklist

  • Post commit CI passes
  • Model regression CI testing passes (if applicable)
  • New/Existing tests provide coverage for changes

@cfjchu
Copy link
Collaborator Author

cfjchu commented Aug 5, 2024

@cfjchu cfjchu force-pushed the jchu/issue-10755-visualize-device-mesh branch from 6bd45df to af1e09f Compare August 5, 2024 19:58
@cfjchu cfjchu force-pushed the jchu/issue-10755-visualize-device-mesh branch from af1e09f to 2c15e57 Compare August 5, 2024 20:25
@cfjchu cfjchu merged commit 12c0051 into main Aug 5, 2024
5 checks passed
@cfjchu cfjchu deleted the jchu/issue-10755-visualize-device-mesh branch August 5, 2024 20:26
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