mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

Distributed training program cannot exit after traning finish

Open happylee524 opened this issue 4 years ago • 1 comments

Description

(A clear and concise description of what the bug is.) I run a distributed training program using "launch.py" method,but after training task finish, the program cannot exit and return.

Error Message

This is the logging. 运行日志

This is my code 代码

Steps to reproduce

(Paste the commands you ran that produced the error.)

  1. Start command: python /usr/local/lib/python3.8/dist-packages/mxnet/tools/launch.py -n 2 -H /tmp/algorithm/Host --sync-dst-dir /tmp/algorithm/mnist_sync --launcher ssh "python /tmp/algorithm/image_classification.py --dataset mnist --model alexnet --epochs 3 --gpus 0,1"
  2. I run my code in two k8s pod with image mxnet/python:2.0.0beta1_gpu_cu110_py3
  3. mxnet version: 2.0.0
  4. My code : image_classification.py copy from mxnet github

happylee524 avatar Apr 20 '22 10:04 happylee524

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.

github-actions[bot] avatar Apr 20 '22 10:04 github-actions[bot]