arcadiaphy edited a comment on issue #15576: Multi-threaded inference broken with MKLDNN URL: https://github.com/apache/incubator-mxnet/issues/15576#issuecomment-512801509 Looks like the `MKLDNNDataReorder` and `Reorder2Default` will alter the underling data of ndarray, so model parameters are not read-only. I've tried adding a mutex lock on `MKLDNNDataReorder`, then the problem vanishes. @zheng-da, can we remove the memcpy in these two methods and make model weights truly read-only? It will fix the broken parallel inference example.
---------------------------------------------------------------- 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
