Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/fabric/kfold_cv/train_fabric.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def validate_dataloader(model, data_loader, fabric, hparams, fold, acc_metric):


def run(hparams):
# Create the Lightning Fabric object. The parameters like accelerator, strategy, devices etc. will be proided
# Create the Lightning Fabric object. The parameters like accelerator, strategy, devices etc. will be provided
# by the command line. See all options: `fabric run --help`
fabric = Fabric()

Expand Down
2 changes: 1 addition & 1 deletion tests/tests_pytorch/core/test_datamodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def prepare_data(self):
dm.prepare_data.assert_not_called()

# 2 dm
# prepar per node = True
# prepare per node = True
# local rank = 0 (True)
dm.prepare_data_per_node = True
local_rank.return_value = 0
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_pytorch/loggers/test_tensorboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def test_tensorboard_log_graph_warning_no_example_input_array(tmp_path):


@mock.patch("lightning.pytorch.loggers.TensorBoardLogger.log_metrics")
def test_tensorboard_with_accummulated_gradients(mock_log_metrics, tmp_path):
def test_tensorboard_with_accumulated_gradients(mock_log_metrics, tmp_path):
"""Tests to ensure that tensorboard log properly when accumulated_gradients > 1."""

class TestModel(BoringModel):
Expand Down
Loading