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 2020/08/06 02:28:52 UTC

[GitHub] [incubator-mxnet] dcmaddix commented on issue #18865: mx.random.seed does not give deterministic results on multi-cpus

dcmaddix commented on issue #18865:
URL: https://github.com/apache/incubator-mxnet/issues/18865#issuecomment-669645930


   > `mx.cpu(0)` is not really different from `mx.cpu(1)`. There is only one random resource for CPUs, whereas there is one per device-id for GPUs:
   > 
   > https://github.com/apache/incubator-mxnet/blob/6bbd53107aa16fc41e8d462cf5dc46fb70d592df/src/resource.cc#L394-L402
   
   Why is the result different than on different cpus? The seed does not seem to be fixed in my example.  Thank you!


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