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

Improve compile time (AIRRtToNpuPass) #551

Closed
wants to merge 2 commits into from

Conversation

newling
Copy link
Collaborator

@newling newling commented Apr 24, 2024

This reduces total end-to-end compile time from 7 seconds to 0.5 seconds on one model. At some point I had a model which was spending 2+ minutes in this air pass, I am optimistic that this optimization reduces that too (I can't recall the matmul dimensions).

I am currently trying to build mlir-air outside of IREE to check locally that all the tests pass, but I'm also just throwing this to CI now to check.

@newling newling changed the title Improve compile time Improve compile time (AIRRtToNpuPass) Apr 24, 2024
@newling newling requested a review from erwei-xilinx April 25, 2024 00:22
@erwei-xilinx
Copy link
Collaborator

Thanks for the cache implementation, which made the compilation go faster! Changes have been merged into #550 Maybe we can close this one now.

@newling newling closed this Apr 25, 2024
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