未验证 提交 65056742 编写于 作者: Y Yiqun Liu 提交者: GitHub

Disable the check of missing op benchmark script temporarily. (#37535)

上级 c249556d
...@@ -122,6 +122,7 @@ void CinnLaunchContext::MutableTensorData(const std::string& var_name, ...@@ -122,6 +122,7 @@ void CinnLaunchContext::MutableTensorData(const std::string& var_name,
auto cinn_tensor = GetCinnTensor(cinn_name); auto cinn_tensor = GetCinnTensor(cinn_name);
// TODO(CtfGo): support mutable corresponding c++ type after CINN ready // TODO(CtfGo): support mutable corresponding c++ type after CINN ready
VLOG(4) << "Only support float in cinn_launch op now.";
paddle_tensor->mutable_data<float>( paddle_tensor->mutable_data<float>(
framework::make_ddim(cinn_tensor->shape().data()), place); framework::make_ddim(cinn_tensor->shape().data()), place);
} }
......
...@@ -236,8 +236,9 @@ function check_CHANGE_OP_MAP { ...@@ -236,8 +236,9 @@ function check_CHANGE_OP_MAP {
do do
if [ -z "${BENCHMARK_OP_MAP[$op_name]}" ] if [ -z "${BENCHMARK_OP_MAP[$op_name]}" ]
then then
exit_code=8 # Disable the check of missing op benchmark script temporarily.
LOG "[ERROR] Missing test script of \"${op_name}\"(${CHANGE_OP_MAP[$op_name]}) in benchmark." # exit_code=8
LOG "[WARNING] Missing test script of \"${op_name}\"(${CHANGE_OP_MAP[$op_name]}) in benchmark."
fi fi
done done
if [ $exit_code -ne 0 ]; then if [ $exit_code -ne 0 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册