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

[PIR]Add pir grad check for conv and conv_transpose #59320

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

changeyoung98
Copy link
Contributor

PR types

Others

PR changes

Others

Description

pcard-67164
Add pir grad check for conv and conv_transpose

  • 由于原本的conv相关单测大部分是调用static.nn下的静态图专用接口,不适用于pir测试,因此对每个单测类新增func_pir函数,使用pir下的python api组网构建测试。其中w的值通过打印原始测试中的值获取,保证新增测试效果与原始测试一致。

Copy link

paddle-bot bot commented Nov 24, 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.

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

@xiaoguoguo626807 xiaoguoguo626807 left a comment

Choose a reason for hiding this comment

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

LGTM

@changeyoung98 changeyoung98 merged commit 08d9d70 into PaddlePaddle:develop Nov 27, 2023
@changeyoung98 changeyoung98 deleted the czy-grad1 branch November 27, 2023 07:33
SecretXV pushed a commit to SecretXV/Paddle that referenced this pull request Nov 28, 2023
* add pir test for conv and conv_transpose

* fix timeout
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