You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/07/06 12:40:06 UTC

[GitHub] ZhennanQin commented on issue #11577: Fix flaky test test_gluon.test_hybrid_static_memory_switching

ZhennanQin commented on issue #11577: Fix flaky test test_gluon.test_hybrid_static_memory_switching
URL: https://github.com/apache/incubator-mxnet/pull/11577#issuecomment-403022224
 
 
   Hi Zhengda,
   
   After applying this PR with recent master, 3 unit tests failed when enabling MKLDNN. They all failed with
   
   mxnet.base.MXNetError: [20:22:53] src/ndarray/ndarray.cc:706: Check failed: !IsMKLDNNData() We can't generate TBlob for MKLDNN data. Please use Reorder2Default() to generate a new NDArray first
   
   I also have questions for this change. Can you explain why can't we do invalidate for those cases? Why they work well in dynamic allocation while don't in static allocation? I suspect there're some bugs between static allocation and threaded engine, and this bug doesn't relate to MKLDNN only. Because when I ran this test many times, I saw a lot double free and memory corruption without mkldnn stack.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services