Skip to content

Commit 368c71c

Browse files
authored
rename
1 parent 3708ec6 commit 368c71c

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
@@ -199,7 +199,7 @@ def _check_bad_xpu_fork() -> None:
199199
The error message replaces PyTorch's 'Cannot re-initialize XPU in forked subprocess' with helpful advice for
200200
Lightning users.
201201
"""
202-
if not XPUAccelerator.is_initialized():
202+
if not XPUAccelerator.is_xpu_initialized():
203203
return
204204

205205
message = (

0 commit comments

Comments
 (0)