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

[IREE][EP] Add support for rocm backend #9

Merged

Conversation

Shukla-Gaurav
Copy link

This commit adds support for rocm backend in iree-ep.

Signed-Off-by: Gaurav Shukla[email protected]

Copy link

@zjgarvey zjgarvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to delete the vmfb file after finishing? In the default path where save_to isn't specified, it would be nice if this vmfb gets cleaned up when no-longer necessary.

onnxruntime/core/providers/iree/compiler/jit_compiler.cc Outdated Show resolved Hide resolved
onnxruntime/core/providers/iree/iree_execution_provider.cc Outdated Show resolved Hide resolved
This commit adds support for rocm backend in iree-ep.

Signed-Off-by: Gaurav Shukla<[email protected]>
@Shukla-Gaurav
Copy link
Author

@zjgarvey Thank you for reviewing, could you please take a look again?

Copy link

@zjgarvey zjgarvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good for now.

It might be nice in the future to have a provider option for keeping compilation artifacts like the imported mlir file and the compiled vmfb for debugging purposes.

@Shukla-Gaurav
Copy link
Author

I think this is good for now.

It might be nice in the future to have a provider option for keeping compilation artifacts like the imported mlir file and the compiled vmfb for debugging purposes.

yeah, will add them in my next patch. Thank you :)

@Shukla-Gaurav Shukla-Gaurav merged commit ecebd73 into nod-ai:onnxrt-rebase Sep 25, 2024
6 of 10 checks passed
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.

2 participants