Skip to content

Conversation

@lizhenyun01
Copy link
Collaborator

支持dptp混合并行下weight获取rl_tp_degree attr

@paddle-bot
Copy link

paddle-bot bot commented Sep 6, 2025

Thanks for your contribution!

set_weight_attrs(self.bias, {"output_dim": True})

# set_rl_tp_degree
self.weight.rl_tp_degree = fd_config.parallel_config.tensor_parallel_size
Copy link
Collaborator

@yuanlehome yuanlehome Sep 7, 2025

Choose a reason for hiding this comment

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

set_weight_attrs(self.embeddings.weight, {"rl_need_attr": {"rl_tp_degree": fd_config.parallel_config.tensor_parallel_size}})

@Jiang-Jia-Jun Jiang-Jia-Jun merged commit d40a104 into PaddlePaddle:release/2.2 Sep 8, 2025
15 of 16 checks passed
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