Skip to content

Commit

Permalink
fix switch of --account + --comment
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyschoelkopf authored Jan 19, 2024
1 parent 86bc680 commit d10a651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepspeed/launcher/multinode_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,10 @@ def get_cmd(self, environment, active_resources):
] + split(self.args.launcher_args)

if getattr(self.args, 'comment', ''):
srun_cmd += ['--account', self.args.comment]
srun_cmd += ['--comment', self.args.comment]

if getattr(self.args, 'account', ''):
srun_cmd += ['--comment', self.args.comment]
srun_cmd += ['--account', self.args.account]

if self.args.include != "":
srun_cmd.append('--nodelist')
Expand Down

0 comments on commit d10a651

Please sign in to comment.