Vikas89 commented on issue #13526: distributed training  van.cc Check failed
URL: 
https://github.com/apache/incubator-mxnet/issues/13526#issuecomment-444773980
 
 
   is this ec2 or your own host?
   please share the command you use to ssh-ing to master instance? 
   1/ use ssh -A to login to master 
   2/ on your master instance,run below command (this enables master to use 
your agent to login to workers)
   # setup ssh-forwarding. 
   sed -i "s/^#\(\s\+\)ForwardAgent\(\s\+\)no/\ \1ForwardAgent\2yes/g" 
/etc/ssh/ssh_config
   
   3/ In host file use ip address instead. 
   
   if you want to launch with 1 ps and 2 worker
   your host file should look like:
   192.168.113.227
   192.168.113.228
   192.168.113.229
   
   4/use full path for host file
   
   5/ launch with command: -s option says that use 1 server and -n is 2 worker 
. 1st host in host file will be server, 2nd host will be worker, 3rd host will 
be worker
   launch.py -s 1 -n 2 ........

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to