Intel MKL-DNN includes hardware-specific optimizations and may behave
differently on depending on the compiler and build environment. Include
the following information to help reproduce the issue:
lscpu; if your lscpu does not list CPU flags,cat /proc/cpuinfo | grep flags | sort -u)uname -a)gcc --version)echo MKLROOT=$MKLROOT)cmake --version)git log -1 --format=%H)git clone https://github.com/tensorflow/benchmarks.git)cd benchmarks/scripts/tf_cnn_benchmarkspython tf_cnn_benchmarks.py --forward_only --device cpu --model googlenet --data_format=NHWCDescribe the behavior you see.
AbortedError (see above for traceback): Operation received an exception:Status: 5, message: could not initialize a memory descriptor, in file tensorflow/core/kernels/mkl_concat_op.cc:813
[[Node: tower_0/v/cg/incept_v10_3/concat = _MklConcatV2[N=4, T=DT_FLOAT, Tidx=DT_INT32, _kernel="MklOp", _device="/job:localhost/replica:0/task:0/device:CPU:0"](tower_0/v/cg/incept_v10_3/conv21/Relu, tower_0/v/cg/incept_v10_3/conv23/Relu, tower_0/v/cg/incept_v10_3/conv25/Relu, tower_0/v/cg/incept_v10_3/conv26/Relu, tower_0/v/cg/incept_v10/concat/axis, tower_0/v/cg/incept_v10_3/conv21/Relu:1, tower_0/v/cg/incept_v10_3/conv23/Relu:1, tower_0/v/cg/incept_v10_3/conv25/Relu:1, tower_0/v/cg/incept_v10_3/conv26/Relu:1, DMT/_58)]]
Describe the behavior you expect.
Looks like a bug in mkl concat op.
This is with conda install -c anaconda tensorflow which gives latest TF 1.9 with MKL-DNN
Thank you for the report, @tonyreina. The defect is likely related to the integration between Tensorflow and Intel MKL-DNN. In general, the defects related to applications that use MKL-DNN should be reported to corresponding application maintainers first. Summoning @agramesh1.
Let's try @claynerobison as well.
Thanks Vadim. As an update. The bug seems to be happening on GoogleNet and Inception topologies. U-Net works fine with the concat op. It also appears that on AVX-2 that the GoogleNet and Inception topologies work, but when I try the wheel against AVX-512 machine I get the described error message about the concat op failing.
@tonyreina sending you slack message to follow up on this issue.
The issue was submitted against TF, closing this one
@agramesh1 @tonyreina
how did you solve this?