Skip to content

Commit 4837b68

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lightning/fabric/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def _get_supported_strategies() -> list[str]:
6060

6161
set_config_read_mode(fsspec_enabled=True)
6262

63+
6364
class FabricCLI:
6465
"""Lightning Fabric command-line tool."""
6566

@@ -196,6 +197,7 @@ def _consolidate_checkpoint(self) -> None:
196197
checkpoint = _load_distributed_checkpoint(processed_args.checkpoint_folder)
197198
torch.save(checkpoint, processed_args.output_file)
198199

200+
199201
def _entrypoint() -> None:
200202
"""The CLI entrypoint."""
201203
FabricCLI()

0 commit comments

Comments
 (0)