Skip to content

Commit

Permalink
Update comment in modeling_utils.py (#31299)
Browse files Browse the repository at this point in the history
  • Loading branch information
inf3rnus authored and itazap committed Jun 20, 2024
1 parent daf034b commit 6337854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/modeling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3570,7 +3570,7 @@ def from_pretrained(

# We'll need to download and cache each checkpoint shard if the checkpoint is sharded.
if is_sharded:
# rsolved_archive_file becomes a list of files that point to the different checkpoint shards in this case.
# resolved_archive_file becomes a list of files that point to the different checkpoint shards in this case.
resolved_archive_file, sharded_metadata = get_checkpoint_shard_files(
pretrained_model_name_or_path,
resolved_archive_file,
Expand Down

0 comments on commit 6337854

Please sign in to comment.