Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I call horovod training process in proc = subprocess.Popen(command, shell=True, cwd=cwd) using command #4017

Open
bit-pku-zdf opened this issue Jan 15, 2024 · 0 comments
Labels

Comments

@bit-pku-zdf
Copy link

Environment:

  1. Framework: tensorflow
  2. Framework version:1.15
  3. Horovod version:0.23.0
  4. MPI version:
  5. CUDA version:
  6. NCCL version:
  7. Python version:3.8.10
  8. Spark / PySpark version:NO
  9. Ray version:NO
  10. OS and version:NO
  11. GCC version:NO
  12. CMake version:NO

Due to historical reasons, we need to use subprocess.Popen to call horovod + tf training process like,
subprocess.Popen("horovodrun -np 16 -H server1:4,server2:4,server3:4,server4:4 python train.py", shell=True, cwd=cwd)
Can I do this? Is there any problem with this?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant