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

Add max shard size to transformers save_pretrained #1648

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Add max shard size to transformers save_pretrained #1648

merged 1 commit into from
Nov 7, 2024

Conversation

b-chu
Copy link
Contributor

@b-chu b-chu commented Nov 7, 2024

Instead of using the default 5GB, we use 1GB to match mlflow. This ensures that smaller models will have an index file.

@b-chu b-chu requested a review from a team as a code owner November 7, 2024 18:59
@b-chu b-chu requested a review from dakinggg November 7, 2024 19:01
@b-chu b-chu enabled auto-merge (squash) November 7, 2024 19:14
@b-chu b-chu merged commit bec9ecd into main Nov 7, 2024
9 checks passed
@b-chu b-chu deleted the shard branch November 7, 2024 19:47
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.

2 participants