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

【Fix PIR Unittest No.86,88,90】Fix some test cast in PIR #64463

Merged
merged 1 commit into from
May 21, 2024

Conversation

wanghuancoder
Copy link
Contributor

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

Pcard-67164
默认开启PIR模式后,修复3个单测:
test_lu_op.py:未能复现
test_frame_op.py:未能复现
test_cummin_op.py:这个单测在单测代码中使用了paddle.int64,这个在PIR下是DataType.INT64,在老静态图下是VarType.INT64。这个导致内部类型检查错误。但是在单测端,只能提供一种值,目前是在单测基类里,在老静态图模式下,如果发现类型不对,做了强制转换。

关联Issue:#63740

Copy link

paddle-bot bot commented May 20, 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.

@wanghuancoder wanghuancoder changed the title 【Fix PIR Unittest No.81,82,83】Fix some test cast in PIR 【Fix PIR Unittest No.86,88,90】Fix some test cast in PIR May 20, 2024
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

@wanghuancoder wanghuancoder merged commit a08ad07 into PaddlePaddle:develop May 21, 2024
31 of 33 checks passed
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.

None yet

2 participants