Skip to content
Open
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
4 changes: 2 additions & 2 deletions megatron/training/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def pretrain(
ft_integration.setup()
timestamp_after_in_job_setup = time.time()

# Initalize and get arguments, timers, and Tensorboard writer.
# Initialize and get arguments, timers, and Tensorboard writer.
initialize_megatron(
get_embedding_ranks=get_embedding_ranks,
get_position_embedding_ranks=get_position_embedding_ranks,
Expand Down Expand Up @@ -1960,7 +1960,7 @@ def _save_state_dict(attr_name, label):
if save_params_in_this_iteration:
_save_state_dict(attr_name="data", label="params")

# when freezing sub-models we may have a mixture of successful and unsucessful ranks,
# when freezing sub-models we may have a mixture of successful and unsuccessful ranks,
# so we must gather across mp ranks
update_successful = logical_and_across_model_parallel_group(update_successful)
# grad_norm and num_zeros_in_grad will be None on ranks without trainable params,
Expand Down
Loading