Skip to content

pytorch-finetuning, speech2speech: bump transformers 4.57.1 -> 5.10.1 - #781

Merged
sdevinenamd merged 4 commits into
mainfrom
users/lucbruni/bump-transformers-5101
Aug 21, 2026
Merged

pytorch-finetuning, speech2speech: bump transformers 4.57.1 -> 5.10.1#781
sdevinenamd merged 4 commits into
mainfrom
users/lucbruni/bump-transformers-5101

Conversation

@lucbruni-amd

Copy link
Copy Markdown
Collaborator

Matches the transformers 5.10.1 pin already adopted in pytorch-rocm-llms (#659). Closes #270. Unpinning the remaining pinned examples can be explored as a follow-up.

transformers 5 removed save_safetensors from TrainingArguments (safetensors
is now the only serialization format), so SFTConfig no longer accepts it and
the training scripts raised TypeError. Removing the arg keeps the same
behavior since safetensors saving is the default.
…heck

transformers 5 raised the default max_shard_size (5GB -> 50GB), so the smoke
model now saves as a single model.safetensors instead of sharded files with an
index. Accept either layout in verify-full-finetuning-output.

@adamlam2-amd adamlam2-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as long as it passes CI

@sdevinenamd
sdevinenamd merged commit 7ae19ba into main Aug 21, 2026
59 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate transformers upgrading from 4.57.1

3 participants