Skip to content

Commit fc8a8ec

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _check_bad_cuda_fork() -> None:
207207
if _IS_INTERACTIVE:
208208
message += " You will have to restart the Python kernel."
209209
raise RuntimeError(message)
210-
210+
211211
# Fallback to the old check if _is_in_bad_fork is not available (older PyTorch versions)
212212
if _is_in_bad_fork is None and torch.cuda.is_initialized():
213213
message = (

0 commit comments

Comments
 (0)