From 650567421c27b4d537a489111d4a0e5f46362e5a Mon Sep 17 00:00:00 2001 From: Yiqun Liu Date: Thu, 25 Nov 2021 16:46:52 +0800 Subject: [PATCH] Disable the check of missing op benchmark script temporarily. (#37535) --- paddle/fluid/operators/cinn_launch_op.cc | 1 + tools/ci_op_benchmark.sh | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/cinn_launch_op.cc b/paddle/fluid/operators/cinn_launch_op.cc index 615fa4493d0..e70a51d8805 100644 --- a/paddle/fluid/operators/cinn_launch_op.cc +++ b/paddle/fluid/operators/cinn_launch_op.cc @@ -122,6 +122,7 @@ void CinnLaunchContext::MutableTensorData(const std::string& var_name, auto cinn_tensor = GetCinnTensor(cinn_name); // TODO(CtfGo): support mutable corresponding c++ type after CINN ready + VLOG(4) << "Only support float in cinn_launch op now."; paddle_tensor->mutable_data( framework::make_ddim(cinn_tensor->shape().data()), place); } diff --git a/tools/ci_op_benchmark.sh b/tools/ci_op_benchmark.sh index 7c20a8671cf..3b4d155a4f7 100644 --- a/tools/ci_op_benchmark.sh +++ b/tools/ci_op_benchmark.sh @@ -236,8 +236,9 @@ function check_CHANGE_OP_MAP { do if [ -z "${BENCHMARK_OP_MAP[$op_name]}" ] then - exit_code=8 - LOG "[ERROR] Missing test script of \"${op_name}\"(${CHANGE_OP_MAP[$op_name]}) in benchmark." + # Disable the check of missing op benchmark script temporarily. + # exit_code=8 + LOG "[WARNING] Missing test script of \"${op_name}\"(${CHANGE_OP_MAP[$op_name]}) in benchmark." fi done if [ $exit_code -ne 0 ]; then -- GitLab