From c2114e1f3165f683153b3520bc0d8a878496b0cc Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Fri, 13 Jun 2025 17:30:49 +0200 Subject: [PATCH 1/3] Update test_tensorboard.py --- tests/tests_pytorch/loggers/test_tensorboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests_pytorch/loggers/test_tensorboard.py b/tests/tests_pytorch/loggers/test_tensorboard.py index 173805f1a6f3c..7e02a73c93082 100644 --- a/tests/tests_pytorch/loggers/test_tensorboard.py +++ b/tests/tests_pytorch/loggers/test_tensorboard.py @@ -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): From 97620aa4bab935c8e87ae1ced50d5085346ba7bd Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Fri, 13 Jun 2025 17:31:11 +0200 Subject: [PATCH 2/3] Update train_fabric.py --- examples/fabric/kfold_cv/train_fabric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fabric/kfold_cv/train_fabric.py b/examples/fabric/kfold_cv/train_fabric.py index 05d9885190dbc..4d0bf5f6048da 100644 --- a/examples/fabric/kfold_cv/train_fabric.py +++ b/examples/fabric/kfold_cv/train_fabric.py @@ -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() From 1f9caa19ed616ebbda058bb2dd5ebd89c9ef2e0c Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Fri, 13 Jun 2025 17:31:59 +0200 Subject: [PATCH 3/3] Update test_datamodules.py --- tests/tests_pytorch/core/test_datamodules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests_pytorch/core/test_datamodules.py b/tests/tests_pytorch/core/test_datamodules.py index fcdc660a0fffc..6d97edb241fe5 100644 --- a/tests/tests_pytorch/core/test_datamodules.py +++ b/tests/tests_pytorch/core/test_datamodules.py @@ -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