zheng-da commented on issue #9820: Flaky test_gluon_model_zoo_gpu.test_training 
@ Python3: MKLDNN-GPU
URL: 
https://github.com/apache/incubator-mxnet/issues/9820#issuecomment-367791248
 
 
   After one day of testing, I think I know where the problem is now. 
Basically, the current implementation sometimes needs to convert data format 
(from the MKLDNN format to the default format) inside an NDArray. In the 
threaded execution engine, while an NDArray is being converted in a thread, the 
array can also be read by another thread. In this case, the other thread can 
read wrong data.
   
   I changed the code to avoid data layout conversion inside an NDArray. It 
seems to work fine now. I'll have more tests.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to