Skip to content

Commit adb38f3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f2d57e0 commit adb38f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/fabric/strategies/launchers/subprocess_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def _hydra_subprocess_cmd(local_rank: int) -> Tuple[Sequence[str], str]:
160160

161161
if hydra_cfg.output_subdir is None: # config isn't saved, so re-run original command
162162
if hydra_cfg.mode == RunMode.MULTIRUN:
163-
raise RuntimeError(f"DDP with multirun requires either re-run callback or saved config file")
163+
raise RuntimeError("DDP with multirun requires either re-run callback or saved config file")
164164
command += sys.argv[1:] + [f"hydra.run.dir={hydra_output}"] # Keep output directory same
165165
else:
166166
hydra_subdir = hydra_output / hydra_cfg.output_subdir

0 commit comments

Comments
 (0)