TaoLv commented on issue #15419: Can't install mxnet with mkldnn,Error: 
undefined symbol: mkldnn_primitive_desc_query_memory_d
URL: 
https://github.com/apache/incubator-mxnet/issues/15419#issuecomment-507271939
 
 
   Great to hear it works now! In order to see MKL-DNN verbose log, you need:
   1. export MKLDNN_VERBOSE=1
   2. make sure MKL-DNN operator/primitive is invoked.
   
   I can see MKL-DNN verbose log on my side:
   ```
   export MKLDNN_VERBOSE=1
   python train_mnist.py
   /home/lvtao/.local/lib/python2.7/site-packages/h5py/__init__.py:34: 
FutureWarning: Conversion of the second argument of issubdtype from `float` to 
`np.floating` is deprecated. In future, it will be treated as `np.float64 == 
np.dtype(float).type`.
     from ._conv import register_converters as _register_converters
   INFO:root:start with arguments Namespace(add_stn=False, batch_size=64, 
disp_batches=100, dtype='float32', gc_threshold=0.5, gc_type='none', gpus=None, 
image_shape='1, 28, 28', initializer='default', kv_store='device', 
load_epoch=None, loss='', lr=0.05, lr_factor=0.1, lr_step_epochs='10', 
macrobatch_size=0, model_prefix=None, mom=0.9, monitor=0, network='mlp', 
num_classes=10, num_epochs=20, num_examples=60000, num_layers=None, 
optimizer='sgd', profile_server_suffix='', profile_worker_suffix='', 
save_period=1, test_io=0, top_k=0, warmup_epochs=5, warmup_strategy='linear', 
wd=0.0001)
   mkldnn_verbose,exec,inner_product,gemm:blas,forward_training,fsrc:nc fwei:oi 
fbia:x fdst:nc,,mb64ic784oc128,61.6921
   mkldnn_verbose,exec,eltwise,jit:avx512_common,forward_training,fdata:nc 
fdiff:undef,alg:eltwise_relu,mb64ic128,0.0339355
   mkldnn_verbose,exec,inner_product,gemm:blas,forward_training,fsrc:nc fwei:oi 
fbia:x fdst:nc,,mb64ic128oc64,0.0559082
   mkldnn_verbose,exec,eltwise,jit:avx512_common,forward_training,fdata:nc 
fdiff:undef,alg:eltwise_relu,mb64ic64,0.00585938
   mkldnn_verbose,exec,inner_product,gemm:blas,forward_training,fsrc:nc fwei:oi 
fbia:x fdst:nc,,mb64ic64oc10,0.0300293
   mkldnn_verbose,exec,eltwise,jit:avx512_common,backward_data,fdata:nc 
fdiff:nc,alg:eltwise_relu,mb64ic64,0.0571289
   mkldnn_verbose,exec,reorder,simple:any,undef,in:f32_nc 
out:f32_nc,num:1,64x64,0.0478516
   mkldnn_verbose,exec,eltwise,jit:avx512_common,backward_data,fdata:nc 
fdiff:nc,alg:eltwise_relu,mb64ic128,0.026123
   mkldnn_verbose,exec,reorder,simple:any,undef,in:f32_nc 
out:f32_nc,num:1,64x128,0.00610352
   ......
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to