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

Is there any way or tool to visualize #5110

Open
ContCh opened this issue Sep 5, 2024 · 2 comments
Open

Is there any way or tool to visualize #5110

ContCh opened this issue Sep 5, 2024 · 2 comments
Labels
module: devtools Features or issues related to profiling, debugging, bundled program, etc.

Comments

@ContCh
Copy link

ContCh commented Sep 5, 2024

🚀 The feature, motivation and pitch

Hello,
Is there any way or tools to visualize the pte model ?
After generate the model after delegation, I really care about the delegation results and the structure of graph. Is there a solution for visualizing the pte model which is a flatbuffers program.
As I can check in the previous issue, and in the codes, I don't find the way to visualize.

I think it may be useful if there are multi-backends, or if we need to check fallback operators.

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

@JacobSzwejbka
Copy link
Contributor

@Olivia-liu @tarun292

@JacobSzwejbka JacobSzwejbka added the module: devtools Features or issues related to profiling, debugging, bundled program, etc. label Sep 5, 2024
@Olivia-liu
Copy link
Contributor

We don't currently have a tool to visualize pte files. But there's a way to print the graph module after to_backend(), which you might find useful. See this page for detail: https://pytorch.org/executorch/stable/debug-backend-delegate.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: devtools Features or issues related to profiling, debugging, bundled program, etc.
Projects
None yet
Development

No branches or pull requests

3 participants