-
Notifications
You must be signed in to change notification settings - Fork 6.7k
[Doc] Add MKL-DNN operator list #14891
Conversation
|
@pengzhao-intel please review~ |
pengzhao-intel
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
Minor comments in line.
|
@xinyu-intel @ciyongch please help to review. Thank you. |
xinyu-intel
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.
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-14891/2/install/index.html?platform=Linux&language=Python&processor=CPU
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-14891/2/tutorials/mkldnn/MKLDNN_README.html
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-14891/2/tutorials/mkldnn/operator_list.html
xinyu-intel
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.
.
|
@mxnet-label-bot add [pr-awaiting-review] |
|
Hi @aaronmarkham May I have your help? CI complains about converting markdown table: |
aaronmarkham
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.
Please test the install index page on a preview. It tends to break a lot and very easily.
| | FullyConnected (INT8) + re-quantization | | | ||
|
|
||
|
|
||
| To install MXNet MKL-DNN backend, please refer to [MKL-DNN backend readme](http://mxnet.incubator.apache.org/tutorials/mkldnn/MKLDNN_README.html) |
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.
Please use relative links. You should be able to use MKLDNN_README.md. That being said, I'd move that readme content to the index page and link to index.md.
docs/install/index.md
Outdated
| $ pip install mxnet | ||
| ``` | ||
|
|
||
| MXNet offers pip packages with MKL-DNN enabled which will be much faster when running on Intel hardware. Try the following command line to install it and find performance numbers and tuning guide in <a href="https://mxnet.incubator.apache.org/versions/master/faq/perf.html#intel-cpu">performance on Intel CPU</a>. |
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.
| MXNet offers pip packages with MKL-DNN enabled which will be much faster when running on Intel hardware. Try the following command line to install it and find performance numbers and tuning guide in <a href="https://mxnet.incubator.apache.org/versions/master/faq/perf.html#intel-cpu">performance on Intel CPU</a>. | |
| MKL-DNN enabled pip packages are optimized for Intel hardware. You can find performance numbers in the <a href="../..//faq/perf.md#intel-cpu">MXNet tuning guide</a>. |
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.
Hi @aaronmarkham, the link here will be compiled to https://mxnet.incubator.apache.org/versions/faq/perf.md#intel-cpu which is a blank page. Do you think I can use http://mxnet.io/faq/perf.html#intel-cpu instead here?
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.
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
Co-Authored-By: TaoLv <tao.a.lv@intel.com>
| | FullyConnected + Activation(ReLU) | MXNET_DISABLE_MKLDNN_FUSE_FC_RELU | | ||
| | Convolution (INT8) + re-quantization | | | ||
| | FullyConnected (INT8) + re-quantization | | | ||
|
|
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.
miss a pattern here: FullyConnected (INT8) + re-quantization + de-quantization
|
@aaronmarkham @ciyongch @pengzhao-intel please take another look - I added some description about how the subgraph backend variable is used and added a reference link in the env var page. |
aaronmarkham
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.
Some minor grammar suggestions. And maybe one link issue...
If you're going back in there, I'd still rename mkldnn_readme.md to index.md and adjust any backlinks to it.
Co-Authored-By: Aaron Markham <markhama@amazon.com>
Co-Authored-By: Aaron Markham <markhama@amazon.com>
Co-Authored-By: Aaron Markham <markhama@amazon.com>
|
Thank you for the fix @aaronmarkham . I'm not familiar with the compilation from md files to html files, but I not notice there is already an index.md in the folder (and other folders under tutorials). Are you suggesting to overwrite the existing index.md? |
Since others are working on that file right now in another PR, let's leave it alone for now. |
|
@TaoLv I merged two MKLDNN related PRs just now and please check if the doc needs the related change. |
Sure. Will change accordingly~ |
|
@pengzhao-intel Change the environmental variable name from |
|
It's great @TaoLv, please retrigger the CI and I will merge soon. |
|
update |
* improve mkldnn document * fix * enable fusion * adjust table * fix comments * promote mxnet-mkl package * Update docs/tutorials/mkldnn/MKLDNN_README.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/install/index.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/install/index.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/install/index.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/install/index.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/tutorials/mkldnn/operator_list.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/faq/perf.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/faq/perf.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/tutorials/mkldnn/operator_list.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * Update docs/tutorials/mkldnn/operator_list.md Co-Authored-By: TaoLv <tao.a.lv@intel.com> * fix markdown table * fix comments * Update docs/faq/env_var.md Co-Authored-By: Aaron Markham <markhama@amazon.com> * Update docs/install/index.md Co-Authored-By: Aaron Markham <markhama@amazon.com> * Update docs/tutorials/mkldnn/MKLDNN_README.md Co-Authored-By: Aaron Markham <markhama@amazon.com> * change name of env variable * retrigger ci * Update env_var.md
Description
Add MKL-DNN optimized operator list and graph fusion pattern list.
This PR is part of the plan in #14399
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments