模型调用失败,求助!!
收藏回复举报
模型调用失败,求助!!
t('forum.solved') 已解决
发表于2024-12-13 09:59:41
0 查看

硬件: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]

本帖最后由 匿名用户 于 2024/12/13 10:43:33 编辑

我要发帖子