【Fix PIR Unittest No.194、207、509】Fix some 0D uts in PIR mode (part2) #64088
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
Execute Infrastructure
PR Types
Not User Facing
Description
同 #64064 的 final part,确保全部 0D 单测可以在 PIR 模式直接跑
test_zero_dim_distribution_loss_api
,单测 case 未适配,改写适配即可test_zero_dim_no_backward_api
,根据 [PIR] Adaptation oftest_zero_dim_*.py
- step: 2 #62652paddle.static.embedding
无需适配,直接拆分到一个_deprecated
单测test_zero_dim_complex_api
,静态图 case 未适配,改写适配即可,其中paddle.static.CompiledProgram
PIR 没有,拆出到_deprecated
Related links
PCard-66972