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

[Prim][PIR] Support dynamic shape for add_grad #65003

Merged
merged 10 commits into from
Jun 12, 2024

Conversation

zeroRains
Copy link
Contributor

@zeroRains zeroRains commented Jun 9, 2024

PR Category

Operator Mechanism

PR Types

New features

Description

前置PR:#65002

为add_grad添加动态shape支持

Copy link

paddle-bot bot commented Jun 9, 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.

np.testing.assert_allclose(dr, d, rtol=self.tol, atol=self.tol)


class TestPrimAddWithGrad1(TestPrimTwoWithGrad):
Copy link
Contributor

Choose a reason for hiding this comment

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

补充一个前向自动broadcast的单侧

Copy link
Contributor

Choose a reason for hiding this comment

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

不同rank的

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

LGTM

@cyber-pioneer cyber-pioneer merged commit b42d120 into PaddlePaddle:develop Jun 12, 2024
33 checks passed
@zeroRains zeroRains deleted the add branch June 12, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants