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

What's the best way to visualize HLOs from in openxla passes? #108

Open
rahul003 opened this issue Jul 25, 2024 · 2 comments
Open

What's the best way to visualize HLOs from in openxla passes? #108

rahul003 opened this issue Jul 25, 2024 · 2 comments
Assignees
Labels
back-end For issues where the root is mostly occurring on the back-end and not a specific adapter type:feature Feature requests

Comments

@rahul003
Copy link

rahul003 commented Jul 25, 2024

I am looking into using this tool to help develop XLA passes. I tried using dot format, but obviously it doesn't have all the features that the tool supports (image below). Do I have to write an adapter for hlo.txt or hlo.pb to model-explorer or is there a simpler way? I can't use MLIR format as our stack is not a MLIR dialect

Screenshot 2024-07-25 at 4 31 50 PM
@pkgoogle
Copy link
Contributor

Hi @rahul003, thanks for question. If it's not included in this list it is safe to assume you will need to write a custom adapter for it:

It currently supports TFLite, TF, TFJS, MLIR, and PyTorch (Exported Program) model format, and provides an extension framework for developers to easily add support for additional formats.

@pkgoogle pkgoogle added the type:support For use-related issues label Jul 26, 2024
@apivovarov
Copy link

apivovarov commented Aug 6, 2024

#115 - Tried to visualize mlir mhlo - got No Graphs

@pkgoogle pkgoogle added type:bug Bug back-end For issues where the root is mostly occurring on the back-end and not a specific adapter MLIR adapter For issues where the root is mostly occurring with the MLIR adapter type:feature Feature requests and removed type:support For use-related issues type:bug Bug labels Aug 22, 2024
@wuruoyu wuruoyu removed the MLIR adapter For issues where the root is mostly occurring with the MLIR adapter label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end For issues where the root is mostly occurring on the back-end and not a specific adapter type:feature Feature requests
Projects
None yet
Development

No branches or pull requests

4 participants