samskalicky commented on issue #19631:
URL: 
https://github.com/apache/incubator-mxnet/issues/19631#issuecomment-745589293


   >   File 
"src/ndarray/./../operator/tensor/.././../common/../operator/nn/mkldnn/mkldnn_base-inl.h",
 line 246
   MXNetError: unknown type for MKLDNN :2
   
   If you look at this file:
   
https://github.com/apache/incubator-mxnet/blob/64f737cdd59fe88d2c5b479f25d011c5156b6a8a/src/operator/nn/mkldnn/mkldnn_base-inl.h#L234-L247
   
   You'll see its running dtype checking and doesnt find a case in the switch 
for value 2. If you go look at what value 2 is:
   
https://github.com/apache/incubator-mxnet/blob/64f737cdd59fe88d2c5b479f25d011c5156b6a8a/3rdparty/mshadow/mshadow/base.h#L351-L354
   
   You'll see that its `kFloat16`. So you're script is somehow using FP16 and 
MKLDNN doesnt support that type.


----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to