Skip to content

Commit 12b8bb9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2129388 commit 12b8bb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytorch_lightning/strategies/horovod.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def _filter_named_parameters(model: nn.Module, optimizer: Optimizer) -> List[Tup
199199
def register_strategies(cls, strategy_registry: Dict) -> None:
200200
if _HOROVOD_AVAILABLE:
201201
import horovod.torch as hvd
202+
202203
hvd.init()
203204

204205
strategy_registry.register(

0 commit comments

Comments
 (0)