Skip to content

Conversation

@LiYuRio
Copy link
Contributor

@LiYuRio LiYuRio commented Mar 11, 2024

PR types

New features

PR changes

Others

Description

支持partial到shard的reshard转换,修改unbalanced的切分,变成最后一个进程拥有最少的元素个数。

比如希望非均匀切分一个大小为10的tensor,那么从0号进程开始,将各自拥有3, 3, 3, 1个元素

PCard-73145

@paddle-bot
Copy link

paddle-bot bot commented Mar 11, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@LiYuRio LiYuRio force-pushed the partial_to_shard branch 3 times, most recently from 0d1dc68 to 3a9379d Compare March 13, 2024 07:09
@LiYuRio LiYuRio closed this Mar 14, 2024
@LiYuRio LiYuRio reopened this Mar 14, 2024
Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@XieYunshen XieYunshen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@From00 From00 left a comment

Choose a reason for hiding this comment

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

LGTM

@LiYuRio LiYuRio merged commit 26d8bec into PaddlePaddle:develop Mar 14, 2024
@LiYuRio LiYuRio deleted the partial_to_shard branch March 14, 2024 14:29
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