硬件:Ascend310
模型通过atc转换后得到om,部署在310上时调用失败
日志见附件
报错信息:
[ERROR] GE(8654,acl_demo_app_detect):2024-08-14-09:32:39.702.844 [model_parser.cc:114]8657 ParseModelContent: ErrorNo: 4294967295(failed) [GET][DEFAULT]
[ERROR] GE(8654,acl_demo_app_detect):2024-08-14-09:32:39.703.100 [model_parser.cc:114]8657 ParseModelContent: ErrorNo: 145006(Data size of model invalid.) [GET][DEFAULT][Check][Param] Invalid model, file_header->length[0] + sizeof(ModelFileHeader)[256] != model->model_len[15064600] || MODEL_FILE_MAGIC_NUM[1146047817] != file_header->magic[1146047817]
[ERROR] GE(8654,acl_demo_app_detect):2024-08-14-09:32:39.703.141 [model_manager.cc:1726]8657 GetModelMemAndWeightSize: ErrorNo: 4294967295(failed) [GET][DEFAULT][Parse][ModelContent] failed!
[ERROR] ASCENDCL(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.407 [model.cpp:1269]8657 aclmdlQuerySize: [GET][DEFAULT][Get][MemAndWeightSize]query size failed, ge result[145000]
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.620 [api_error.cc:409]8657 DevMalloc:Device malloc failed, invalid size, current size = 4616194021471028288, valid size range is (0, 1125899906842624]
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.712 [api_c.cc:811]8657 rtMalloc:ErrCode=107000, desc=[invalid value], InnerCode=0x7110001
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.744 [error_message_manage.cc:45]8657 FuncErrorReason:rtMalloc execute failed, reason=[invalid value]
[ERROR] ASCENDCL(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.781 [memory.cpp:83]8657 aclrtMalloc: alloc device memory failed, runtime result = 107000
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.858 [api_error.cc:409]8657 DevMalloc:Device malloc failed, invalid size, current size = 4616194021471028288, valid size range is (0, 1125899906842624]
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.906 [api_c.cc:811]8657 rtMalloc:ErrCode=107000, desc=[invalid value], InnerCode=0x7110001
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.931 [error_message_manage.cc:45]8657 FuncErrorReason:rtMalloc execute failed, reason=[invalid value]
硬件:Ascend310
模型通过atc转换后得到om,部署在310上时调用失败
日志见附件
报错信息:
[ERROR] GE(8654,acl_demo_app_detect):2024-08-14-09:32:39.702.844 [model_parser.cc:114]8657 ParseModelContent: ErrorNo: 4294967295(failed) [GET][DEFAULT]
[ERROR] GE(8654,acl_demo_app_detect):2024-08-14-09:32:39.703.100 [model_parser.cc:114]8657 ParseModelContent: ErrorNo: 145006(Data size of model invalid.) [GET][DEFAULT][Check][Param] Invalid model, file_header->length[0] + sizeof(ModelFileHeader)[256] != model->model_len[15064600] || MODEL_FILE_MAGIC_NUM[1146047817] != file_header->magic[1146047817]
[ERROR] GE(8654,acl_demo_app_detect):2024-08-14-09:32:39.703.141 [model_manager.cc:1726]8657 GetModelMemAndWeightSize: ErrorNo: 4294967295(failed) [GET][DEFAULT][Parse][ModelContent] failed!
[ERROR] ASCENDCL(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.407 [model.cpp:1269]8657 aclmdlQuerySize: [GET][DEFAULT][Get][MemAndWeightSize]query size failed, ge result[145000]
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.620 [api_error.cc:409]8657 DevMalloc:Device malloc failed, invalid size, current size = 4616194021471028288, valid size range is (0, 1125899906842624]
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.712 [api_c.cc:811]8657 rtMalloc:ErrCode=107000, desc=[invalid value], InnerCode=0x7110001
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.744 [error_message_manage.cc:45]8657 FuncErrorReason:rtMalloc execute failed, reason=[invalid value]
[ERROR] ASCENDCL(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.781 [memory.cpp:83]8657 aclrtMalloc: alloc device memory failed, runtime result = 107000
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.858 [api_error.cc:409]8657 DevMalloc:Device malloc failed, invalid size, current size = 4616194021471028288, valid size range is (0, 1125899906842624]
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.906 [api_c.cc:811]8657 rtMalloc:ErrCode=107000, desc=[invalid value], InnerCode=0x7110001
[ERROR] RUNTIME(8654,acl_demo_app_detect):2024-08-14-09:32:39.707.931 [error_message_manage.cc:45]8657 FuncErrorReason:rtMalloc execute failed, reason=[invalid value]