-
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
[RELAY] Filter PlaceholderOp from schedule. #2412
Conversation
What is the motivation on this? The compile engine should have included all the inputs including placeholder |
this is to handle a situation like below
where p0 is a bypass. Ref. #2216 (comment) |
OK, this seems to be fine, can you please document the intent of the code as a comment block? Please also add a test case as per https://docs.tvm.ai/contribute/code_review.html#ensure-test-coverage |
8d1c411
to
a0cbd5f
Compare
a0cbd5f
to
e8517eb
Compare
Test case added, but enabling fuse pass has another issue as given below.
I may need some help here. |
This makes sense to me, we need someone with more TVM experience to explain the LLVM failure. It looks like the compiler is producing invalid IR. |
@srkreddy1238 can you act on @jroesch 's comment, and we can merge this. The new error seems was due to wrong type info |
cc @tqchen |
Thanks to @srkreddy1238 @jroesch , this is now merged |
Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.