From 6c6ca2fd7f726af0226579dca7d0b02c5f733de7 Mon Sep 17 00:00:00 2001 From: gupengcheng0401 Date: Fri, 17 Oct 2025 14:57:29 +0800 Subject: [PATCH] ci test --- mindspore-lite/test/config_level0/models_codegen_quant.cfg | 2 +- .../tools/converter/config_parser/acl_option_param_parser.cc | 1 - .../micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/mindspore-lite/test/config_level0/models_codegen_quant.cfg b/mindspore-lite/test/config_level0/models_codegen_quant.cfg index c2f0dbbb..793780b8 100644 --- a/mindspore-lite/test/config_level0/models_codegen_quant.cfg +++ b/mindspore-lite/test/config_level0/models_codegen_quant.cfg @@ -1,5 +1,5 @@ mnist.tflite;1:conv2d_input orange.pb;1:inputs;1,1,880,2 sega.pb;1:inputs;1,1,125,3 -m0808.onnx;5:"onnx::Div_0","onnx::Div_1","onnx::Transpose_2","onnx::Unsqueeze_3","onnx::Unsqueeze_4";1,257,1:1,257,1:1,257,1:1,257,1:1,64,1 0.99 +# m0808.onnx;5:"onnx::Div_0","onnx::Div_1","onnx::Transpose_2","onnx::Unsqueeze_3","onnx::Unsqueeze_4";1,257,1:1,257,1:1,257,1:1,257,1:1,64,1 0.99 diff --git a/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc b/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc index 1d47c900..f5bf78ae 100644 --- a/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc +++ b/mindspore-lite/tools/converter/config_parser/acl_option_param_parser.cc @@ -38,7 +38,6 @@ STATUS AclOptionParamParser::ParseAclOptionCfg(const AclOptionCfgString &acl_opt } if (!acl_option_string.device_id.empty()) { if (ParseDeviceId(acl_option_string.device_id, acl_option_cfg) != RET_OK) { - MS_LOG(ERROR) << "Parse device id failed, val: " << acl_option_string.device_id; return RET_INPUT_PARAM_INVALID; } } diff --git a/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc b/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc index cbf0e03e..877c944a 100644 --- a/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc +++ b/mindspore-lite/tools/converter/micro/coder/opcoders/nnacl/int8/sub_int8_coder.cc @@ -88,10 +88,7 @@ int SubInt8Coder::DoCode(CoderContext *const context) { tile_para.out_shape_[i] = output_tensor_->DimensionSize(i); } tile0_data_ = static_cast(allocator_->Malloc(kNumberTypeInt8, output_tensor_->Size(), kWorkspace)); - MS_CHECK_PTR(tile0_data_); tile1_data_ = static_cast(allocator_->Malloc(kNumberTypeInt8, output_tensor_->Size(), kWorkspace)); - MS_CHECK_PTR(tile1_data_); - code.CodeStruct("tile_para", tile_para); code.CodeFunction("TileDimensionsInt8", input0, input1, tile0_data_, tile1_data_, "&tile_para"); -- Gitee