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
[Autoscheduler][VM] Autoscheduler layout rewrite pass to VM #7516
Conversation
How can we address this kind of issue in the future? Should we organize the optimization passes in |
@merrymercy I think that initially the intent for Relay VM compilation was to use the same passes as the graph runtime. I think that the pass manager refactor ended up being applied to graph runtime and not the VM IIRC causing the two to diverge? |
@merrymercy please let me know if there are any outstanding changes requested of if we can go ahead and merge this one |
This adds the autoscheduler layout rewrite pass to VM compiler, to brings big performance improvements to any autoscheduler optimized graph. Tested on SSD Resnet34 and saw over 2x speedup.