-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[TVMScript] IR Fragment Printing #13742
Conversation
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.
Generated by tvm-bot |
07d7f3e
to
bcf2252
Compare
bcf2252
to
e788615
Compare
|
Will expose a configuration API in python in a follow-up PR tomorrow Update: added in this PR |
e4dc02e
to
673984f
Compare
This PR introduces support for TIR fragment printing. Fragment printing makes it possible to print TIR fragments in the text format consistency with TVMScript PrimFunc/IRModule printing. This PR still preserves the legacy ReprPrinter format by introducing an API `LegacyTIRPrint` for TIR PrimExpr. This method is used in AutoScheduler and TIR CSE for full backward compatibility.
673984f
to
bd08d72
Compare
This PR introduces support for TIR fragment printing. Fragment printing makes it possible to print TIR fragments in the text format consistency with TVMScript PrimFunc/IRModule printing. This PR still preserves the legacy ReprPrinter format by introducing an API `LegacyTIRPrint` for TIR PrimExpr. This method is used in AutoScheduler and TIR CSE for full backward compatibility.
This PR introduces support for TIR fragment printing