Skip to content

Commit

Permalink
fix bugs when run inference ci
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanRisheng committed Mar 2, 2022
1 parent 48b76ce commit 5d25a9b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion paddle/fluid/operators/elementwise/elementwise_sub_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,16 @@ class ElementwiseSubDoubleGradMaker : public framework::SingleGradOpMaker<T> {
} // namespace paddle

REGISTER_ELEMWISE_GRAD_MAKER(elementwise_sub, Sub);
REGISTER_ELEMWISE_EXPLICIT_OP_WITHOUT_GRAD(elementwise_sub, Sub);

namespace ops = paddle::operators;

REGISTER_OPERATOR(elementwise_sub, ::paddle::operators::ElementwiseOp,
::paddle::operators::ElementwiseSubOpMaker,
::paddle::operators::ElementwiseOpInferVarType,
elementwise_subGradMaker<::paddle::framework::OpDesc>,
elementwise_subGradMaker<::paddle::imperative::OpBase>,
::paddle::operators::ElementwiseOpInplaceInferer);

REGISTER_OPERATOR(
elementwise_sub_grad, ops::ElementwiseOpGrad,
ops::ElementwiseGradOpInplaceInferer, ops::ElementwiseGradNoBufVarsInferer,
Expand Down

1 comment on commit 5d25a9b

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #40039 Commit ID: 5d25a9b contains failed CI.

🔹 Failed: PR-CI-Coverage

test_failed
2022-03-02 17:54:16 The following tests FAILED:
2022-03-02 17:54:16 1539 - test_parallel_dygraph_control_flow (Timeout)
2022-03-02 17:54:16 + EXCODE=8
2022-03-02 17:54:16 + echo 8
2022-03-02 17:54:16 8
2022-03-02 17:54:16 + echo 'ipipe_log_param_EXCODE: 8'
2022-03-02 17:54:16 ipipe_log_param_EXCODE: 8
2022-03-02 17:54:16 + '[' 8 -ne 0 ']'
2022-03-02 17:54:16 + '[' 8 -ne 9 ']'
2022-03-02 17:54:16 + exit 8
2022-03-02 17:54:16 {build code state=8}
2022-03-02 17:54:26 kill agent BUILD_CODE_FAIL

Please sign in to comment.