Skip to content

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

@paddle-bot
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

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