Skip to content

Commit f13fadd

Browse files
soumithfacebook-github-bot
authored andcommitted
fix python2 corner-case in torch.distributed.launch (#20996)
Summary: Small fix for the comment raised in 4cf7657#r33134850 Pull Request resolved: #20996 Differential Revision: D15991510 Pulled By: pietern fbshipit-source-id: 4e5a35864b5a4ec9402aa83a19c4a3ba0df2f01f
1 parent f39b662 commit f13fadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/distributed/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def main():
228228
process.wait()
229229
if process.returncode != 0:
230230
raise subprocess.CalledProcessError(returncode=process.returncode,
231-
cmd=process.args)
231+
cmd=cmd)
232232

233233

234234
if __name__ == "__main__":

0 commit comments

Comments
 (0)