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

remove the need to shard the model post saving when using FSDP #13

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

pacman100
Copy link
Owner

What does this PR do?

  1. Based on the PRs fsdp refactoring huggingface/accelerate#2177 and Refactoring Trainer, adds save_only_model arg and simplifying FSDP integration huggingface/transformers#27652, updating the code related to FSDP model saving. Now, DeepSpeed/FSDP save the model weights in the transformers sharded safetensors format by default. Yay!

@pacman100 pacman100 merged commit db20ace into main Nov 22, 2023
@pacman100 pacman100 deleted the smangrul/fsdp-updates branch December 20, 2023 06:16
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.

None yet

1 participant