-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Enable MKL-DNN in pip packages #16899
Conversation
szha
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.
Given the changes, it doesn't quite make sense to keep the *mkl variants anymore, since that's the only difference.
|
I'm not sure whether the backward compatibility matters for convenient binary releases or not. What about if downstream projects explicitly call [1]https://github.com/dmlc/gluon-cv/blob/master/tests/py3.yml#L19 |
|
@szha does this make sense to keep *mkl variants for a short time? Or we need to remove from now. I am going to merging the PR in the early of next week in case there is no objection. |
|
Not really. Given that the content would be the same, having both would just waste space. |
|
I think keeping *mkl is better, since users may use *mkl to install MXNet. |
|
For these |
…to release-mkldnn Conflicts: make/pip/pip_linux_mkl.mk make/pip/pip_linux_native.mk make/staticbuild/darwin_mkl.mk make/staticbuild/linux_cu100mkl.mk make/staticbuild/linux_cu101mkl.mk make/staticbuild/linux_cu75mkl.mk make/staticbuild/linux_cu80mkl.mk make/staticbuild/linux_cu90mkl.mk make/staticbuild/linux_cu91mkl.mk make/staticbuild/linux_cu92mkl.mk make/staticbuild/linux_mkl.mk
…to release-mkldnn
|
@szha @perdasilva Could you please review? Is it possible to verify these changes in dev CD? Thanks. |
|
|
||
| #include <Rcpp.h> | ||
| #include <string> | ||
| #include <opencv2/core/version.hpp> |
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.
Is this change related or is your branch out of date?
|
Can you rebase? |
Done. |
…to release-mkldnn Conflicts: cd/Jenkinsfile_cd_pipeline cd/Jenkinsfile_release_job cd/README.md
|
@szha @perdasilva @leezu @larroy @pengzhao-intel Could you please review? How can we proceed this? |
leezu
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.
LGTM
…to release-mkldnn Conflicts: tools/staticbuild/README.md
|
Thank you @samskalicky. I over looked these files when merging the master branch. Will update them. |
tools/staticbuild/README.md
Outdated
|
|
||
| For the CMake build, you need to install `patchelf` first, for example via `apt | ||
| install patchelf` on Ubuntu systems. | ||
| >>>>>>> ae145cdb1de95e8275dd087585f4aab69bc94005 |
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.
seems to be a leftover from resolving merge conflict
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. It's fixed.
samskalicky
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.
LGTM, I restarted your windows GPU run since the cmake.exe error is still flaky. But im not sure about the website error:
[2020-02-11T02:14:04.984Z] Extension error:
[2020-02-11T02:14:04.984Z] Could not import extension autodocsumm (exception: cannot import name 'Signature' from 'sphinx.ext.autodoc' (unknown location))
[2020-02-11T02:14:05.247Z] make[1]: *** [html] Error 2
[2020-02-11T02:14:05.247Z] Makefile:95: recipe for target 'html' failed
[2020-02-11T02:14:05.247Z] make[1]: Leaving directory '/work/mxnet/docs/python_docs/python/build'
@aaronmarkham any idea?
|
Thank you @samskalicky . See #17560 for the website faliure. |
|
@szha @leezu @samskalicky Is it good to go? Let me know if anything need be adjusted. Thanks. |
|
@TaoLv Sheng just merged fixes for the CD pipeline. Let's wait 24 hours to verify CD works on master branch. Then we can merge this PR. |
|
Looks like the update has taken effect, though the jenkins jobs are still running for *mkl variants. http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/restricted-mxnet-cd%2Fmxnet-cd-release-job/detail/mxnet-cd-release-job/724/pipeline |
|
@szha What can I do for this situation? It seems we need change the value of |
* enable mkldnn by default in pip packages * add make file for native build * rm *mkl build scripts * remove *mkl variants * Change readme/cd * clear native build configurations * fix static build test in ci * git mv linux_cu102mkl.mk linux_cu102.mk * fix merge conflict
* Fix cd/mxnet_lib/dynamic/Jenkins_pipeline.groovy Fixes a regression in CD introduced by apache#17645 * Fix whitespace * Add NATIVE_ADDITIONAL.md Fixes a regression in CD introduced by apache#16899 * Update other $TYPE_ADDITIONAL.MD * Fix cd/python/docker Fixes regression introduced by apache#15990
* enable mkldnn by default in pip packages * add make file for native build * rm *mkl build scripts * remove *mkl variants * Change readme/cd * clear native build configurations * fix static build test in ci * git mv linux_cu102mkl.mk linux_cu102.mk * fix merge conflict
* Fix cd/mxnet_lib/dynamic/Jenkins_pipeline.groovy Fixes a regression in CD introduced by apache#17645 * Fix whitespace * Add NATIVE_ADDITIONAL.md Fixes a regression in CD introduced by apache#16899 * Update other $TYPE_ADDITIONAL.MD * Fix cd/python/docker Fixes regression introduced by apache#15990
* Fix cd/mxnet_lib/dynamic/Jenkins_pipeline.groovy Fixes a regression in CD introduced by apache#17645 * Fix whitespace * Add NATIVE_ADDITIONAL.md Fixes a regression in CD introduced by apache#16899 * Update other $TYPE_ADDITIONAL.MD * Fix cd/python/docker Fixes regression introduced by apache#15990
* Fix cd/mxnet_lib/dynamic/Jenkins_pipeline.groovy Fixes a regression in CD introduced by apache#17645 * Fix whitespace * Add NATIVE_ADDITIONAL.md Fixes a regression in CD introduced by apache#16899 * Update other $TYPE_ADDITIONAL.MD * Fix cd/python/docker Fixes regression introduced by apache#15990
* Fix CD (#17776) * Fix cd/mxnet_lib/dynamic/Jenkins_pipeline.groovy Fixes a regression in CD introduced by #17645 * Fix whitespace * Add NATIVE_ADDITIONAL.md Fixes a regression in CD introduced by #16899 * Update other $TYPE_ADDITIONAL.MD * Fix cd/python/docker Fixes regression introduced by #15990 * [CD] update pypi description, setup.py (#17681) * update pypi description, setup.py, use manylinux2010, use unified dist link for nightly * Use manylinux2014 Co-authored-by: Leonard Lausen <leonard@lausen.nl> * reverting .so path as per MAKE flow Co-authored-by: Leonard Lausen <lausen@amazon.com> Co-authored-by: Sheng Zha <szha@users.noreply.github.com> Co-authored-by: Leonard Lausen <leonard@lausen.nl>
* Fix CD (#17776) * Fix cd/mxnet_lib/dynamic/Jenkins_pipeline.groovy Fixes a regression in CD introduced by #17645 * Fix whitespace * Add NATIVE_ADDITIONAL.md Fixes a regression in CD introduced by #16899 * Update other $TYPE_ADDITIONAL.MD * Fix cd/python/docker Fixes regression introduced by #15990 * [CD] update pypi description, setup.py (#17681) * update pypi description, setup.py, use manylinux2010, use unified dist link for nightly * Use manylinux2014 Co-authored-by: Leonard Lausen <leonard@lausen.nl> * reverting .so path as per MAKE flow Co-authored-by: Leonard Lausen <lausen@amazon.com> Co-authored-by: Sheng Zha <szha@users.noreply.github.com> Co-authored-by: Leonard Lausen <leonard@lausen.nl>
* Fix CD (apache#17776) * Fix cd/mxnet_lib/dynamic/Jenkins_pipeline.groovy Fixes a regression in CD introduced by apache#17645 * Fix whitespace * Add NATIVE_ADDITIONAL.md Fixes a regression in CD introduced by apache#16899 * Update other $TYPE_ADDITIONAL.MD * Fix cd/python/docker Fixes regression introduced by apache#15990 * [CD] update pypi description, setup.py (apache#17681) * update pypi description, setup.py, use manylinux2010, use unified dist link for nightly * Use manylinux2014 Co-authored-by: Leonard Lausen <leonard@lausen.nl> * reverting .so path as per MAKE flow Co-authored-by: Leonard Lausen <lausen@amazon.com> Co-authored-by: Sheng Zha <szha@users.noreply.github.com> Co-authored-by: Leonard Lausen <leonard@lausen.nl>
Description
Discussion: https://lists.apache.org/thread.html/1a22dbd79098adab6d02d16e8d607bae2acc908c0bb1b085d28a51ba@%3Cdev.mxnet.apache.org%3E
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments