-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Update MKL-DNN to v0.18 release (was: fix the Dense layer issue) #13668
Conversation
@TaoLv Can you please check the failing test? @mseth10 Can you help review this PR? |
…to fix-inner-product
…to fix-inner-product
…to fix-inner-product
@zheng-da Please try this update to see if it can fix your issue. Thank you. |
@zheng-da ping for the update! Thanks |
@azai91 - Can you please help review this PR? |
We will update the latest MKLDNN CI before the merge. |
@zheng-da please help verify the fix. |
@zheng-da Ping for review ! |
MKL-DNN 0.18 is coming soon. We plan to upgrade MKL-DNN dependency to 0.18 and full validation is WIP. Please hold on to the code review and merge. Thank you. |
@TaoLv Is there the test case to catch this issue? |
There is one in the original issue: #13451. But since it needs a big NDArray (~20GB memory) so I'm not sure if we can put it into CI unit test. I'm considering to add it into nightly: /~https://github.com/apache/incubator-mxnet/blob/master/tests/nightly/test_large_array.py |
yes, it's a big concern for CI. @zheng-da |
…to fix-inner-product Conflicts: 3rdparty/mkldnn
CI is finally passed. This PR is ready for review now. @pengzhao-intel @szha |
Please add this test back, suppose this can be fixed. |
I tried the test case and it passed on my local machine with this PR. But since it's flaky, I will submit another PR to re-enable it after this PR is merged. It deserves several times of CI run to make sure it's really fixed. |
@@ -255,6 +255,7 @@ if(USE_MKLDNN) | |||
add_subdirectory(3rdparty/mkldnn) | |||
|
|||
include_directories(3rdparty/mkldnn/include) | |||
include_directories(${PROJECT_BINARY_DIR}/3rdparty/mkldnn/include) |
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.
Ping for review, @szha , @zheng-da , @yuxihu , @pengzhao-intel . |
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.
LGTM, please switch to release version before merging.
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.
Thanks for your contribution! LGTM
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.
Thanks for Your contribution! LGTM
Merging now :) Thanks all of the efforts from Tao and reviewers. |
…che#13668) * update MKL-DNN to fix Dense layer issue(apache#13451) * fix format numbers * update mkldnn * update mkldnn to v0.18 release * update mklml version & fix mkldnn build * fix typo * fix cmake * fix cmake * skip test_quantized_conv * fix quantized_conv and cmake * Revert "fix cmake" This reverts commit a9b3886. * update mkldnn submodule * update mkldnn head to 0.18.1 patch release * empty commit to retrigger ci * retrigger ci
) * update MKL-DNN to fix Dense layer issue(#13451) * fix format numbers * update mkldnn * update mkldnn to v0.18 release * update mklml version & fix mkldnn build * fix typo * fix cmake * fix cmake * skip test_quantized_conv * fix quantized_conv and cmake * Revert "fix cmake" This reverts commit a9b3886. * update mkldnn submodule * update mkldnn head to 0.18.1 patch release * empty commit to retrigger ci * retrigger ci
…che#13668) * update MKL-DNN to fix Dense layer issue(apache#13451) * fix format numbers * update mkldnn * update mkldnn to v0.18 release * update mklml version & fix mkldnn build * fix typo * fix cmake * fix cmake * skip test_quantized_conv * fix quantized_conv and cmake * Revert "fix cmake" This reverts commit a9b3886. * update mkldnn submodule * update mkldnn head to 0.18.1 patch release * empty commit to retrigger ci * retrigger ci
Description
Issue: #13451
Since the case provided in the issue needs huge memory, I'm not sure if it's appropriate to put it into unit test.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments