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/14 07:21:44 UTC

[GitHub] [incubator-mxnet] sxjscience opened a new issue #18922: [Random] Expose the random state

sxjscience opened a new issue #18922:
URL: https://github.com/apache/incubator-mxnet/issues/18922


   Exposing the RandomState is quite crucial for implementing many techniques like gradient check-pointing and reversible networks, e.g., https://github.com/lucidrains/routing-transformer/blob/master/routing_transformer/reversible.py#L59-L63, which is not possible with the current MXNet.
   
   Thus, we'd better to expose the RandomState so that we can implement these models.
   


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



[GitHub] [incubator-mxnet] bricksdont commented on issue #18922: [Random] Expose the random state

Posted by GitBox <gi...@apache.org>.
bricksdont commented on issue #18922:
URL: https://github.com/apache/incubator-mxnet/issues/18922#issuecomment-722584205


   Does this mean that it would be possible to save and load (set) the exact state of a random generator, as opposed to only being able to set an initial seed?
   
   This would be great to have, also for debugging purposes. For instance, a bug that I opened:
   
   https://github.com/apache/incubator-mxnet/issues/19073
   
   could be debugged if the random state itself could be saved and loaded.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha commented on issue #18922: [Random] Expose the random state

Posted by GitBox <gi...@apache.org>.
szha commented on issue #18922:
URL: https://github.com/apache/incubator-mxnet/issues/18922#issuecomment-673936643


   On the same note, NumPy recently revamped the random state implementation https://numpy.org/doc/stable/reference/random/index.html#what-s-new-or-different


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



[GitHub] [incubator-mxnet] szha commented on issue #18922: [Random] Expose the random state

Posted by GitBox <gi...@apache.org>.
szha commented on issue #18922:
URL: https://github.com/apache/incubator-mxnet/issues/18922#issuecomment-673935898


   cc @yzhliu for suggestions 


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