Skip to content

Commit a470fe8

Browse files
committed
ds
1 parent 40b1449 commit a470fe8

File tree

1 file changed

+1
-3
lines changed
  • src/lightning/fabric/utilities/testing

1 file changed

+1
-3
lines changed

src/lightning/fabric/utilities/testing/_runif.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ def _runif_reasons(
112112
reasons.append("Standalone execution")
113113
kwargs["standalone"] = True
114114

115-
if deepspeed and not (
116-
_DEEPSPEED_AVAILABLE and not _TORCH_GREATER_EQUAL_2_4 and RequirementCache(module="deepspeed.utils")
117-
):
115+
if deepspeed and not (_DEEPSPEED_AVAILABLE and not _TORCH_GREATER_EQUAL_2_4):
118116
reasons.append("Deepspeed")
119117

120118
if dynamo:

0 commit comments

Comments
 (0)