-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[Relay][Pass] Fix CombineParallelConv2D #2167
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
Conversation
55cc209 to
fc53ed6
Compare
|
even with this change, VGG and Resnet tests in tests/python/frontend/mxnet/test_forward.py don't work if I enable CombineParallelConv2D pass. @vinx13 can you take a look? The weird thing is that I am getting slightly different errors every time I run test_forward_vgg() and test_forward_resnet(). |
|
@vinx13 is CombineParallelConv2DPass supposed to change residual block? When I run test_forward_resnet(), it sometimes finishes without error, but I am seeing a log like the one below. This is not a standard workload in resnet. |
|
@masahi It shouldn't. Fixed, please review again. |
|
OK, I confirmed locally that test_forward.py is working with CombineParallelConv2D enabled. You can roll back OPT_PASS_LEVEL to 1 if you want. This way we can test CombineParallelConv2D pass on other end to end compilation test cases for free. |
|
@vinx13 Let us set the CombineParallelConv2D to opt_level=3 |
|
@vinx13 can you also follow up to check the current status on the inception style models to see the actual benefit of this pass? since we already support inception models |
masahi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I thought Inception test was coming. The fix looks good.
|
Thanks, @vinx13 ! can you confirm the inception perf and post a followup? |
Fix the issue mentioned in #2163
Please review @masahi @tqchen