mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

multi-nodes training with dmlc-core

Open feiyulv opened this issue 10 years ago • 3 comments

It will be ok if I submit a multi-nodes job using launcher.py under ps-lite dir. However, when I use the dmlc-submit provided by dmlc-core, the program will exit. script with ps-lite: python launcher.py -n 2 --launcher ssh -H hosts python test.py --kv-store dist_sync script with dmlc-core python dmlc-submit --cluster ssh --num-wokers 2 --host-files hosts python test.py --kv-store dist_sync

If I remove the argument kv-store dist_sync, the dmlc-core will work. Log info as follows: image

feiyulv avatar Aug 08 '16 03:08 feiyulv

can you give more detailed logs?

mli avatar Aug 08 '16 17:08 mli

I forget to specify the num-servers when using dmlc-submit. This will be ok python dmlc-submit --cluster ssh --num-wokers 2 --num-servers=2 --host-files hosts python test.py --kv-store dist_sync By the way, the multi-node program still can't be canncelled with new dmlc-submit. Is there any way to avoid it ? @mli

feiyulv avatar Aug 09 '16 04:08 feiyulv

My mistake, the program can be terminated

feiyulv avatar Aug 19 '16 02:08 feiyulv