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

[AutoParallel] Fix elementwise inferspmd with broadcast #59707

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

LiYuRio
Copy link
Contributor

@LiYuRio LiYuRio commented Dec 5, 2023

PR types

Bug fixes

PR changes

Others

Description

修复elementwise反向推导规则,当输入形状为[32, 1, 64]的x和[32, 16, 64]的y做binary操作,且y的srp是Shard(1),这时候x在1维应该做广播操作,且在反向推导时,这个维度不需要被切分。

Pcard-73145

Copy link

paddle-bot bot commented Dec 5, 2023

你的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 dev_fix_elementwise branch 3 times, most recently from 1af1392 to 3dc101f Compare December 6, 2023 06:35
@LiYuRio LiYuRio force-pushed the dev_fix_elementwise branch from 3dc101f to 0340f7f Compare December 6, 2023 07:09
Copy link
Member

@ForFishes ForFishes 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 53b5919 into PaddlePaddle:develop Dec 7, 2023
@LiYuRio LiYuRio deleted the dev_fix_elementwise branch December 7, 2023 05:05
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