Skip to content

Commit 5d227ff

Browse files
authored
Update src/lightning/fabric/strategies/strategy.py
1 parent 2d347d0 commit 5d227ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/fabric/strategies/strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def module_init_context(self, empty_init: Optional[bool] = None) -> AbstractCont
147147

148148
def setup_module_and_optimizers(
149149
self, module: Module, optimizers: list[Optimizer], scheduler: Optional[_LRScheduler] = None
150-
) -> Tuple[Module, list[Optimizer], Optional[_LRScheduler]]:
150+
) -> tuple[Module, list[Optimizer], Optional[_LRScheduler]]:
151151
"""Set up a model and multiple optimizers together.
152152
153153
The returned objects are expected to be in the same order they were passed in. The default implementation will

0 commit comments

Comments
 (0)