Skip to content

Commit

Permalink
Fix CI bug of test_yolov3 (#21)
Browse files Browse the repository at this point in the history
* fill_any_like kernel refactor

* remove useless code of full_like c++ api

* Support Scalar in Tensor Compute Library

* add scalar in dygraph and static graph mode

* keep the basic type for attr, instead of using scalar for all

* merge the code

* start refactor matmul

* move cpu, cuda and other device modules into kernels

* merge code

* polish code in operator.cc

* Fix CI bug of test_yolov3
  • Loading branch information
zyfncg authored Oct 19, 2021
1 parent ff19bd0 commit 1dd0145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/tcmpt/core/tensor_meta.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ struct TensorMeta {
offset(offset),
lod(lod) {
int64_t init_numel = paddle::framework::product(dims);
if (init_numel > 0) {
if (init_numel >= 0) {
numel = init_numel;
}
}
Expand Down

1 comment on commit 1dd0145

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 1dd0145 Oct 19, 2021

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #21 Commit ID: 1dd0145 contains failed CI.

🔹 Failed: PR-CI-APPROVAL

approve_failed
2021-10-19 10:30:05 正在保存至: “bk.txt”
2021-10-19 10:30:05 0K 100% 3.44M=0s
2021-10-19 10:30:05 2021-10-19 10:30:05 (3.44 MB/s) - 已保存 “bk.txt” [5/5])
2021-10-19 10:30:12 ****************
2021-10-19 10:30:13 0. You must have one RD (lanxianghit (Recommend), phlrain or luotao1) approval for changing the FLAGS, which manages the environment variables.
2021-10-19 10:30:13 1. You must have Dianhai approval for change 20+ files or add than 1000+ lines of content.
2021-10-19 10:30:13 2. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for paddle/fluid/framework/operator.h, which manages the underlying code for fluid.
2021-10-19 10:30:13 3. You must have one RD (zhiqiu (Recommend) , phlrain) approval for the changes of paddle/fluid/pybind/op_function_generator.cc, which manages the logic of automatic generating op functions for dygraph.
2021-10-19 10:30:13 4. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for the usage of const_cast.
2021-10-19 10:30:13 5. You must have one RD (Avin0323(Recommend) or zhouwei25 or wanghuancoder or luotao1) approval for modifying unity_build_rule.cmake which the rules of Unity Build.
2021-10-19 10:30:13 There are 6 approved errors.
2021-10-19 10:30:13 ****************
2021-10-19 10:30:13 + EXCODE=6
2021-10-19 10:30:13 + echo 'EXCODE: 6'
2021-10-19 10:30:13 EXCODE: 6
2021-10-19 10:30:13 + echo 'ipipe_log_param_EXCODE: 6'
2021-10-19 10:30:13 ipipe_log_param_EXCODE: 6
2021-10-19 10:30:13 + exit 6

🔹 Failed: PR-CI-OP-benchmark

Unknown Failed
2021-10-19 11:20:41 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "mean"(paddle/fluid/operators/mean_op.cu) in benchmark.
2021-10-19 11:20:41 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-19 11:20:41 + '[' -z '' ']'
2021-10-19 11:20:41 + exit_code=8
2021-10-19 11:20:41 + LOG '[ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-19 11:20:41 + echo '[tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-19 11:20:41 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.
2021-10-19 11:20:41 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-19 11:20:41 + '[' -z matmul,matmul,matmul.json,True ']'
2021-10-19 11:20:41 + '[' 8 -ne 0 ']'
2021-10-19 11:20:41 + LOG '[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-19 11:20:41 + echo '[tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-19 11:20:41 [tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.
2021-10-19 11:20:41 + LOG '[INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-19 11:20:41 + echo '[tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-19 11:20:41 [tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.
2021-10-19 11:20:41 + exit 8
2021-10-19 11:20:41 {build code state=8}
2021-10-19 11:20:51 kill agent BUILD_CODE_FAIL

Please sign in to comment.