TaoLv commented on issue #14545: Optimize transpose operator with MKL-DNN URL: https://github.com/apache/incubator-mxnet/pull/14545#issuecomment-479921467 @pengzhao-intel It mitigates the performance issue of transpose in #14496 but doesn't help #14563. Possibly #14563 is not caused by transpose regression. @apeforest @fhieber @samskalicky ``` (py3env) [lvtao@mlt-skx138 mxnet]$ numactl --physcpubind=0-27 --membind=0 python transpose_perf.py 10 50 100 200 500 mxnet version: 1.3.1 -------------------- size: 10 p50: 0.11 ms p90: 0.11 ms p99: 0.11 ms -------------------- size: 50 p50: 0.06 ms p90: 0.07 ms p99: 0.07 ms -------------------- size: 100 p50: 0.18 ms p90: 0.18 ms p99: 0.19 ms -------------------- size: 200 p50: 2.89 ms p90: 3.86 ms p99: 4.22 ms -------------------- size: 500 p50: 102.48 ms p90: 102.74 ms p99: 102.85 ms mxnet version: 1.4.0 -------------------- size: 10 p50: 0.11 ms p90: 0.12 ms p99: 0.38 ms -------------------- size: 50 p50: 0.09 ms p90: 0.09 ms p99: 0.10 ms -------------------- size: 100 p50: 0.89 ms p90: 0.93 ms p99: 0.95 ms -------------------- size: 200 p50: 5.31 ms p90: 6.03 ms p99: 6.52 ms -------------------- size: 500 p50: 186.42 ms p90: 186.93 ms p99: 187.04 ms (py3env) [lvtao@mlt-skx138 mxnet]$ numactl --physcpubind=0-27 --membind=0 python transpose_perf.py 10 50 100 200 500 mxnet version: 1.5.0 (this PR) -------------------- size: 10 p50: 0.03 ms p90: 0.03 ms p99: 0.03 ms -------------------- size: 50 p50: 0.08 ms p90: 0.08 ms p99: 0.09 ms -------------------- size: 100 p50: 0.19 ms p90: 0.33 ms p99: 0.34 ms -------------------- size: 200 p50: 2.44 ms p90: 3.33 ms p99: 3.50 ms -------------------- size: 500 p50: 95.93 ms p90: 96.31 ms p99: 97.07 ms ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services