Skip to content

Commit bd1c84e

Browse files
authored
Fix Typos in Comments and Function Names Across Multiple Files (#20901)
* Update test_tensorboard.py * Update train_fabric.py * Update test_datamodules.py
1 parent 26e2c2c commit bd1c84e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/fabric/kfold_cv/train_fabric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def validate_dataloader(model, data_loader, fabric, hparams, fold, acc_metric):
102102

103103

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

tests/tests_pytorch/core/test_datamodules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def prepare_data(self):
100100
dm.prepare_data.assert_not_called()
101101

102102
# 2 dm
103-
# prepar per node = True
103+
# prepare per node = True
104104
# local rank = 0 (True)
105105
dm.prepare_data_per_node = True
106106
local_rank.return_value = 0

tests/tests_pytorch/loggers/test_tensorboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def test_tensorboard_log_graph_warning_no_example_input_array(tmp_path):
240240

241241

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

246246
class TestModel(BoringModel):

0 commit comments

Comments
 (0)