no line buffer for mpi jobs (#1825)

This commit is contained in:
Awni Hannun
2025-02-03 12:02:15 -08:00
committed by GitHub
parent 2d8e667400
commit ec7c7def40

View File

@@ -253,6 +253,8 @@ def launch_mpi(parser, hosts, args, command):
cmd = [ cmd = [
mpirun, mpirun,
"--output",
":raw", # do not line buffer output
"--hostfile", "--hostfile",
f.name, f.name,
*(["-cwd", args.cwd] if args.cwd else []), *(["-cwd", args.cwd] if args.cwd else []),