Skip to content

Commit f1d22b2

Browse files
committed
update warning format
1 parent e28d93a commit f1d22b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lightning/fabric/strategies/deepspeed.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,7 @@ def setup_environment(self) -> None:
628628
ds_support = True
629629
if not ds_support:
630630
raise RuntimeError(
631-
"The DeepSpeed strategy is only supported on CUDA/Intel(R) GPUs but"
632-
" `{self.accelerator.__class__.__name__}` is used."
631+
f"The DeepSpeed strategy is only supported on CUDA/Intel(R) GPUs but `{self.accelerator.__class__.__name__}` is used."
633632
)
634633
super().setup_environment()
635634

0 commit comments

Comments
 (0)