mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 18:11:15 +08:00
no line buffer for mpi jobs (#1825)
This commit is contained in:
parent
2d8e667400
commit
ec7c7def40
@ -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 []),
|
||||||
|
Loading…
Reference in New Issue
Block a user