Skip to content

Conversation

@Wennie396
Copy link
Contributor

PR types

New features

PR changes

Others

Description

PaddleFleet GPTModel加入cp功能的组件

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Wennie396 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@paddle-bot
Copy link

paddle-bot bot commented Dec 3, 2025

Thanks for your contribution!

self.mp_rank = self._hcg.get_model_parallel_rank()
self.mp_src_rank = self._hcg.get_model_parallel_group_src_rank()

if hasattr(self._hcg, "get_context_parallel_world_size") and self._hcg.get_context_parallel_world_size() > 1:
Copy link
Collaborator

Choose a reason for hiding this comment

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

CP相关的修改是否会对旗舰库有影响

Copy link
Collaborator

Choose a reason for hiding this comment

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

CLA需要签一下

Copy link
Contributor Author

Choose a reason for hiding this comment

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

旗舰库这里需要做一些适配才可以用,直接使用会有问题,这里可以后续再适配

@Wennie396
Copy link
Contributor Author

/re-run all-failed

lugimzzz
lugimzzz previously approved these changes Dec 5, 2025
Copy link
Collaborator

@lugimzzz lugimzzz left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants