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
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def trainer(
if group_rank == 0:
metrics = {}

# Lerning rate annealing
# Learning rate annealing
if args.anneal_lr:
linear_annealing(optimizer, update, num_updates, args.learning_rate)
if group_rank == 0:
Expand Down
4 changes: 2 additions & 2 deletions tests/tests_fabric/loggers/test_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_automatic_step_tracking(tmp_path):


@mock.patch(
# Mock the existance check, so we can simulate appending to the metrics file
# Mock the existence check, so we can simulate appending to the metrics file
"lightning.fabric.loggers.csv_logs._ExperimentWriter._check_log_dir_exists"
)
def test_append_metrics_file(_, tmp_path):
Expand Down Expand Up @@ -189,7 +189,7 @@ def test_append_columns(tmp_path):


@mock.patch(
# Mock the existance check, so we can simulate appending to the metrics file
# Mock the existence check, so we can simulate appending to the metrics file
"lightning.fabric.loggers.csv_logs._ExperimentWriter._check_log_dir_exists"
)
def test_rewrite_with_new_header(_, tmp_path):
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_pytorch/accelerators/test_xla.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def on_train_start(self):

def on_train_end(self):
# this might fail if run in an environment with too many ranks, as the total
# length of the dataloader will be distrbuted among them and then each rank might not do 3 steps
# length of the dataloader will be distributed among them and then each rank might not do 3 steps
assert self.called["training_step"] == 3
assert self.called["on_train_batch_start"] == 3
assert self.called["on_train_batch_end"] == 3
Expand Down
Loading