Skip to content

【Fix PIR Unittest No.194、207、509】Fix some 0D uts in PIR mode (part2) - #64088

Merged
SigureMo merged 2 commits into
PaddlePaddle:developfrom
cattidea:pir/0d-ut-move-part2
May 8, 2024
Merged

SigureMo merged 2 commits into
PaddlePaddle:developfrom
cattidea:pir/0d-ut-move-part2

Conversation

@SigureMo

@SigureMo SigureMo commented May 7, 2024 •

Copy link
Copy Markdown
Collaborator

PR Category

Execute Infrastructure

PR Types

Not User Facing

Description

同 #64064 的 final part,确保全部 0D 单测可以在 PIR 模式直接跑

  • 194 test_zero_dim_distribution_loss_api,单测 case 未适配,改写适配即可
  • 207 test_zero_dim_no_backward_api,根据 [PIR] Adaptation of test_zero_dim_*.py - step: 2 #62652 paddle.static.embedding 无需适配,直接拆分到一个 _deprecated 单测
  • 509 test_zero_dim_complex_api,静态图 case 未适配,改写适配即可,其中 paddle.static.CompiledProgram PIR 没有,拆出到 _deprecated

Related links

PCard-66972

@paddle-bot

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

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators May 7, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation May 7, 2024
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators May 7, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation May 7, 2024

@xiaoguoguo626807 xiaoguoguo626807 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 for backward

@SigureMo
SigureMo merged commit ac1df88 into PaddlePaddle:develop May 8, 2024
@SigureMo
SigureMo deleted the pir/0d-ut-move-part2 branch May 8, 2024 11:51
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