Skip to content

fix qwen-vl failed with FSDP #30

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

fix qwen-vl failed with FSDP #30

wants to merge 4 commits into from

Conversation

Yancey0623
Copy link

@Yancey0623 Yancey0623 commented Nov 5, 2024

this PR search attribute from the original module if the attribute is missing in the FSDP wrapper module.

@Yancey0623 Yancey0623 requested a review from baoleai November 5, 2024 05:52
@anw90 anw90 requested a review from yitongh November 5, 2024 06:18
@Yancey0623 Yancey0623 requested a review from eedalong November 5, 2024 12:58
Copy link
Contributor

@yitongh yitongh left a comment

Choose a reason for hiding this comment

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

Should we also change the self.model to self._module in fsdp.py, spmd_fsdp.py, pp/pipeline.py, dp.py

@Yancey0623
Copy link
Author

Should we also change the self.model to self._module in fsdp.py, spmd_fsdp.py, pp/pipeline.py, dp.py

@yitongh good idea, I will do that in the next PR.

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