Skip to content

Commit

Permalink
fix the missing arguments max-nodes. (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
workingloong authored Feb 20, 2024
1 parent b5b492c commit 9496cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlrover/trainer/torch/elastic_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def run(args):
)
logger.info(f"Set the dlrover master addr as {master_addr}")
os.environ[NodeEnv.DLROVER_MASTER_ADDR] = master_addr
use_dlrover_launch = _check_to_use_dlrover_run(master_addr)
use_dlrover_launch = _check_to_use_dlrover_run(master_addr, max_nodes)

if args.standalone and not use_dlrover_launch:
args.rdzv_backend = "c10d"
Expand Down

0 comments on commit 9496cce

Please sign in to comment.