Skip to content
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

Add enable_partial_send_recv switch in pipeline_configs #46992

Merged
merged 8 commits into from
Oct 17, 2022

Conversation

GhostScreaming
Copy link
Contributor

@GhostScreaming GhostScreaming commented Oct 13, 2022

PR types

Bug fixes

PR changes

APIs

Describe

Support enable_partial_send_recv switch, which can be configure in pipeline_configs. If sent tensor are not the same from different hosts, they shouldn't been sent partially and then concated as a whole tensor.

@paddle-bot
Copy link

paddle-bot bot commented Oct 13, 2022

你的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.

pipeline_configs. If sent tensor are not the same from
different hosts, they shouldn't been sent partially and
then concated as a whole tensor.
@GhostScreaming GhostScreaming changed the title Pp support sp Add enable_partial_send_recv switch in pipeline_configs Oct 14, 2022
@sneaxiy sneaxiy self-requested a review October 14, 2022 06:12
@sneaxiy sneaxiy merged commit b9a2f29 into PaddlePaddle:develop Oct 17, 2022
GhostScreaming added a commit to GhostScreaming/Paddle that referenced this pull request Oct 18, 2022
…#46992)

* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result
is wrong.

* Support allow_partial switch, which can be configure in
pipeline_configs. If sent tensor are not the same from
different hosts, they shouldn't been sent partially and
then concated as a whole tensor.

* Change name allow_partial to enable_partial_send_recv.

* Add global variable _enable_partial_send_recv
fuyinno4 pushed a commit that referenced this pull request Oct 19, 2022
)

* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result
is wrong.

* Support allow_partial switch, which can be configure in
pipeline_configs. If sent tensor are not the same from
different hosts, they shouldn't been sent partially and
then concated as a whole tensor.

* Change name allow_partial to enable_partial_send_recv.

* Add global variable _enable_partial_send_recv
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