We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e28d93a commit f1d22b2Copy full SHA for f1d22b2
src/lightning/fabric/strategies/deepspeed.py
@@ -628,8 +628,7 @@ def setup_environment(self) -> None:
628
ds_support = True
629
if not ds_support:
630
raise RuntimeError(
631
- "The DeepSpeed strategy is only supported on CUDA/Intel(R) GPUs but"
632
- " `{self.accelerator.__class__.__name__}` is used."
+ f"The DeepSpeed strategy is only supported on CUDA/Intel(R) GPUs but `{self.accelerator.__class__.__name__}` is used."
633
)
634
super().setup_environment()
635
0 commit comments