[Relay] Fix an adaptive_max_pool1d operator conversion bug#15386
[Relay] Fix an adaptive_max_pool1d operator conversion bug#15386echuraev merged 17 commits intoapache:mainfrom haoyang9804:main
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 |
|
cc @jikechao |
|
@echuraev @Hzfengsy @vvchernov |
|
Please add a regression test for it |
|
From one hand LGTM, from another one it confuses me due to fix for specific op was done on very high level (and CI test was constructed for specific op not for all cases). It looks like it has been assumed that outputs exist at any |
I agree that "fix for specific op was done on very high level". So I make the fix only specific to the buggy pytorch op. This is only a workaround currently. I believe there are some deeper issues make this bug happen. |
|
cc @vvchernov |
This is a code patch for fixing this issue: #15004
Please refer to my comments in this link for the root cause of this issue.