Skip to content

【Fix PIR Unittest No.511、533、542-544】Fix 5 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op, test_einsum_op) - #64307

Merged
SigureMo merged 4 commits into
PaddlePaddle:developfrom
cattidea:pir/fix-ut-533-543-544
May 15, 2024
Merged

SigureMo merged 4 commits into
PaddlePaddle:developfrom
cattidea:pir/fix-ut-533-543-544

Conversation

@SigureMo

@SigureMo SigureMo commented May 14, 2024 •

Copy link
Copy Markdown
Collaborator

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

  • 修复 test_pow,为 API 写法问题,不应该用 y.dtype(y 类型都不是 Tensor)
  • 直接移动 test_transpose_op,可以运行
  • 修复 test_randn_op,为 API 写法问题,动态 shape 场景将所有元素转为 Value
  • 直接移动 test_flatten2_op,可以运行
  • 直接移动 test_einsum_op,可以运行

Related links

PCard-66972

@paddle-bot

paddle-bot Bot commented May 14, 2024

Copy link
Copy Markdown

你的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.

@SigureMo SigureMo changed the title 【Fix PIR Unittest No.533、543-544】Fix 3 ut in PIR mode (test_pow, test_randn_op, test_transpose_op) 【Fix PIR Unittest No.533、542-544】Fix 4 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op) May 14, 2024
@SigureMo SigureMo changed the title 【Fix PIR Unittest No.533、542-544】Fix 4 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op) 【Fix PIR Unittest No.533、542-544】Fix 4 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op, test_einsum_op) May 14, 2024
@SigureMo SigureMo changed the title 【Fix PIR Unittest No.533、542-544】Fix 4 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op, test_einsum_op) 【Fix PIR Unittest No.511、533、542-544】Fix 4 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op, test_einsum_op) May 14, 2024
@SigureMo SigureMo changed the title 【Fix PIR Unittest No.511、533、542-544】Fix 4 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op, test_einsum_op) 【Fix PIR Unittest No.511、533、542-544】Fix 5 ut in PIR mode (test_pow, test_randn_op, test_transpose_op, test_flatten2_op, test_einsum_op) May 14, 2024

@XieYunshen XieYunshen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@SigureMo
SigureMo merged commit 27de1d0 into PaddlePaddle:develop May 15, 2024
@SigureMo
SigureMo deleted the pir/fix-ut-533-543-544 branch May 15, 2024 16:13
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