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

Sync states for npu fsdp #2113

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Sync states for npu fsdp #2113

merged 1 commit into from
Nov 8, 2023

Conversation

jq460494839
Copy link
Contributor

Adds sync state for fsdp loading on rank 0 -> broadcasted to other npu ranks.

cc @pacman100 @statelesshz @muellerzr

Fixes #2085

@jq460494839
Copy link
Contributor Author

Sorry, the previous PR was mistakenly closed by me. Could you please help me review and merge it again

@BenjaminBossan
Copy link
Member

#2093 for reference.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

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!

@jq460494839
Copy link
Contributor Author

#2093 for reference.

thanks

@muellerzr muellerzr requested a review from pacman100 November 3, 2023 18:06
@jq460494839
Copy link
Contributor Author

@pacman100 Please take a look at this PR, thx.

Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

Thank you @jq460494839 for the fix!

@pacman100 pacman100 merged commit 217e1a2 into huggingface:main Nov 8, 2023
24 checks passed
@jq460494839 jq460494839 deleted the my_dev branch November 9, 2023 01:32
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.

Use FastChat with NPU fine-tune LLM get an AssertionError
6 participants