Skip to content

Conversation

xingmingyyj
Copy link
Contributor

PR types

Others

PR changes

Others

Description

PIR Op单测修复
修复单测 test_row_conv_op
修复后打开FLAGS_enable_pir_in_executor单测是否通过:否
报错信息:

File "/home/aistudio/fix_op/Paddle/build/test/legacy_test/op_test.py", line 2254, in _compare_list
"Output (" + name + ") has different lod at " + str(place),
AssertionError: Lists differ: [] != [[20, 30, 50]

Copy link

paddle-bot bot commented Dec 3, 2023

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

@paddle-bot paddle-bot bot added the contributor External developers label Dec 3, 2023
@@ -403,6 +403,16 @@ void RepeatInterleaveWithTensorIndexInferMeta(const MetaTensor& x,
const MetaTensor& repeats,
int dim,
MetaTensor* out);

void RowConvGradInferMeta(const MetaTensor& out_grad,
Copy link
Contributor

Choose a reason for hiding this comment

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

反向InferMeta函数放到backward.h/cc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修改

"Input(Filter)'s shape: [%s].",
filter_dims));
out->set_dims(x.dims());
out->share_lod(x);
Copy link
Contributor

Choose a reason for hiding this comment

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

设置下 dtype

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修改

kangguangli
kangguangli previously approved these changes Dec 6, 2023
@xingmingyyj xingmingyyj requested a review from zyfncg December 13, 2023 03:18
@kangguangli kangguangli merged commit fbce185 into PaddlePaddle:develop Dec 13, 2023
@xingmingyyj xingmingyyj deleted the fix_test_row_conv_op branch December 14, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants