Skip to content

fix qwen-vl failed with FSDP#30

Open
Yancey0623 wants to merge 4 commits into
mainfrom
qwen-vl-api
Open

fix qwen-vl failed with FSDP#30
Yancey0623 wants to merge 4 commits into
mainfrom
qwen-vl-api

Conversation

@Yancey0623

@Yancey0623 Yancey0623 commented Nov 5, 2024

Copy link
Copy Markdown

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
Comment thread torchacc/dist/distributed_parallel.py Outdated
Comment thread torchacc/dist/distributed_parallel.py Outdated

@yitongh yitongh left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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