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

Support text export of fusion subgraphs #3525

Open
hgaspar opened this issue Oct 11, 2024 · 0 comments
Open

Support text export of fusion subgraphs #3525

hgaspar opened this issue Oct 11, 2024 · 0 comments

Comments

@hgaspar
Copy link

hgaspar commented Oct 11, 2024

Add a command line argument to the migraphx driver (for example export_mlir), which, when set, will perform the following:
For each mlir fusion (module) that migraphx decides to perform, the corresponding IR will be exported in a text file (.mlir); The filename will ideally be reflective of what the fusion is about (e.g. via concat of the names or the operators, appended into the model name).

Those exported files will be used as follows:
Test scripts in rocMLIR will import each such file, compile the code to create a single code object, verify that this succeeds, and if it does, "verify" the correctness, and benchmark the execution time; and, finally, write all that info in a structured way, so that results from different runs can be compared.

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

No branches or pull requests

2 participants