Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #1086

Merged
merged 1 commit into from
Jun 13, 2024
Merged
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 torchtune/utils/_checkpointing/_checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class _CheckpointerInterface(Protocol):
* End-of-training Checkpointing. The model weights at the end of a completed training
run are written out to file. The checkpointer ensures that the output checkpoint
files have the same keys as the input checkpoint file used to begin training. The
checkpointer also ensures that the keys are paritioned across the same number of
checkpointer also ensures that the keys are partitioned across the same number of
files as the original checkpoint. This ensures that the original metadata files can
be used as is, and the output checkpoint can be used with any tool that understands
the original checkpoint format. This includes popular inference engines such as
Expand Down Expand Up @@ -460,7 +460,7 @@ def save_checkpoint(
checkpoint file ``recipe_state.pt`` is created in ``_output_dir`` which contains the recipe
state.

The state_dict is first converted back to the HF format and then paritioned based on the
The state_dict is first converted back to the HF format and then partitioned based on the
``_weight_map`` into separate checkpoint files.

Args:
Expand Down
Loading