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/01/03 19:18:58 UTC

[GitHub] [incubator-mxnet] eric-haibin-lin opened a new issue #17210: Move launch.py to official API

eric-haibin-lin opened a new issue #17210: Move launch.py to official API
URL: https://github.com/apache/incubator-mxnet/issues/17210
 
 
   Currently to do distributed training, `tools/launch.py` is used to launch the cluster. However, the file cannot be easily discovered in the installed pip packaged (one needs to navigate to the folder where mxnet pip package locates). Otherwise users manually clones mxnet to get the script.
   A better way is to make it a module or API of MXNet, so that users can launch distributed training via something like:
   `python -m mxnet.kv "launch -n 4 -h hosts train.py"`

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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] leezu commented on issue #17210: Move launch.py to official API

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17210: Move launch.py to official API
URL: https://github.com/apache/incubator-mxnet/issues/17210#issuecomment-570719135
 
 
   There's an option in setup.py to specify python files as "to be installed as script" (made available in users path). It should be fine to use it after renaming `launch.py` to something mxnet specific, eg `mxnet_launch_distributed.py`. What do you think?

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


With regards,
Apache Git Services