Skip to content

Commit

Permalink
fix bug of CI compile
Browse files Browse the repository at this point in the history
  • Loading branch information
zyfncg committed Oct 28, 2021
1 parent e7bf067 commit 2e76b24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions paddle/pten/tests/test_matmul_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ TEST(API, matmul_cpu) {
}
}

#if defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP)
TEST(API, matmul_cuda) {
// Prepare CPU Dense Tensor
const auto alloc_cpu =
Expand Down Expand Up @@ -155,3 +156,5 @@ TEST(API, matmul_cuda) {
ASSERT_NEAR(sum[i], ref_out->data<float>()[i], 1e-6f);
}
}

#endif

1 comment on commit 2e76b24

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 2e76b24 Oct 28, 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: #36844 Commit ID: 2e76b24 contains failed CI.

🔹 Failed: PR-CI-APPROVAL

approve_failed
2021-10-28 22:06:36 长度:5 [application/octet-stream]
2021-10-28 22:06:36 正在保存至: “bk.txt”
2021-10-28 22:06:36 0K 100% 3.24M=0s
2021-10-28 22:06:36 2021-10-28 22:06:36 (3.24 MB/s) - 已保存 “bk.txt” [5/5])
2021-10-28 22:06:44 ****************
2021-10-28 22:06:44 0. You must have one RD (lanxianghit (Recommend), phlrain or luotao1) approval for changing the FLAGS, which manages the environment variables.
2021-10-28 22:06:44 1. You must have Dianhai approval for change 20+ files or add than 1000+ lines of content.
2021-10-28 22:06:44 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-28 22:06:44 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-28 22:06:44 4. 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-28 22:06:44 There are 5 approved errors.
2021-10-28 22:06:44 ****************
2021-10-28 22:06:44 + EXCODE=6
2021-10-28 22:06:44 + echo 'EXCODE: 6'
2021-10-28 22:06:44 EXCODE: 6
2021-10-28 22:06:44 + echo 'ipipe_log_param_EXCODE: 6'
2021-10-28 22:06:44 ipipe_log_param_EXCODE: 6
2021-10-28 22:06:44 + exit 6

🔹 Failed: PR-CI-Kunlun

http_proxy_failed
2021-10-28 22:08:45 make[1]: *** [CMakeFiles/extern_pocketfft.dir/all] Error 2
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/google/googletest.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/xianyi/OpenBLAS.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/google/snappy/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/dmlc/dlpack.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/gflags/gflags.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/baidu-research/warp-ctc.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/herumi/xbyak.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/progschj/ThreadPool.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/madler/zlib.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 fatal: unable to access 'https://github.com/weidai11/cryptopp.git/': Failed to connect to 172.19.57.45 port 3128: Connection timed out
2021-10-28 22:08:45 CMake Error at /paddle/build/third_party/gtest/tmp/extern_gtest-gitclone.cmake:31 (message):
2021-10-28 22:08:45 Failed to clone repository: 'https://github.com/google/googletest.git'
2021-10-28 22:08:45 -- Had to git clone more than once:
2021-10-28 22:08:45 3 times.
2021-10-28 22:08:45 -- Had to git clone more than once:
2021-10-28 22:08:45 3 times.
2021-10-28 22:08:45 CMake Error at /paddle/build/third_party/dlpack/tmp/extern_dlpack-gitclone.cmake:31 (message):
2021-10-28 22:08:45 Failed to clone repository: 'https://github.com/dmlc/dlpack.git'
2021-10-28 22:08:45 CMakeFiles/extern_gtest.dir/build.make:90: recipe for target 'third_party/gtest/src/extern_gtest-stamp/extern_gtest-download' failed
2021-10-28 22:08:45 -- Had to git clone more than once:

🔹 Failed: PR-CI-OP-benchmark

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

Please sign in to comment.