Skip to content

Commit ee00467

Browse files
fix typo in launch.py (#2516)
1 parent 65544d8 commit ee00467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/accelerate/utils/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def prepare_multi_gpu_env(args: argparse.Namespace) -> Dict[str, str]:
136136
if need_port_check and is_port_in_use(main_process_port):
137137
raise ConnectionError(
138138
f"Tried to launch distributed communication on port `{main_process_port}`, but another process is utilizing it. "
139-
"Please specify a different port (such as using the `----main_process_port` flag or specifying a different `main_process_port` in your config file)"
139+
"Please specify a different port (such as using the `--main_process_port` flag or specifying a different `main_process_port` in your config file)"
140140
" and rerun your script. To automatically use the next open port (on a single node), you can set this to `0`."
141141
)
142142

0 commit comments

Comments
 (0)