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

Revert "Enable Unwrapping for Model State Dicts (FSDP)" #3096

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

SunMarc
Copy link
Member

@SunMarc SunMarc commented Sep 10, 2024

Reverts #2959
This PR breaks basic usage of FSDP with the torch 2.4 and 2.5 (regression ?). See huggingface/transformers#33400 and #3061.

Since there is no good solution yet, it's best to revert this PR.
cc @evkogs @muellerzr @alex-jw-brooks

@SunMarc SunMarc requested a review from muellerzr September 10, 2024 15:12
Copy link
Collaborator

@muellerzr muellerzr left a comment

Choose a reason for hiding this comment

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

Thanks for the revert! (This will be included in the next release Friday/1.0.0)

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@SunMarc SunMarc merged commit 1ce2eb6 into main Sep 10, 2024
28 checks passed
@SunMarc SunMarc deleted the revert-2959-unwrap_fsdp_sd branch September 10, 2024 15:37
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.

3 participants