Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nb模型处理异常(iOS)引发的崩溃 #10440

Open
Peteryt opened this issue Feb 3, 2024 · 4 comments
Open

nb模型处理异常(iOS)引发的崩溃 #10440

Peteryt opened this issue Feb 3, 2024 · 4 comments

Comments

@Peteryt
Copy link

Peteryt commented Feb 3, 2024

为使您的问题得到快速解决,在建立 Issues 前,请您先通过如下方式搜索是否有相似问题:历史 issue, FAQ 文档, 官方文档

  • 版本、环境信息:
       1)Paddle Lite 版本:PaddleLite 13.rc 版本 (inference_lite_lib.ios.armv8.with_cv.with_extra.tiny_publish.tar.gz)
       2)Host 环境:iOS
       3)运行设备环境:iPhone XR 及以上所有新机型
       4)预测后端信息:请描述使用的预测后端信息,如 CPU/GPU/NPU/others 加速器
  • 复现信息:具体信息见崩溃描述
  • 问题描述:

void paddle::lite::arm::math::gemv_int8(signed char const*, signed char const*,float*,bool,int ,int,float const*,bool,float const*,paddle::lite::operators::ActivationParam,paddle::lite::Context<(paddle::lite_api::TargetType)4>*)

备注:此前使用的是较早的版本,Paddlelite 12,也曾出现过类似的崩溃,方法名有差异;
void paddle::lite::arm::math::sgemv

@hong19860320
Copy link
Collaborator

用预测库对应版本的 opt 工具重新生成对应 nb 模型跑下试试?

@Peteryt
Copy link
Author

Peteryt commented Feb 19, 2024

通过dysm 后的崩溃日志如下

void paddle::lite::arm::math::gemv_int8(signed char const*, signed char const*,float*,bool,int,int,float const*,bool, float const*,paddle::lite::operators::ActivationParam,paddle::lite::Context<(paddle::lite_api::TargetType)4>*)

@Peteryt
Copy link
Author

Peteryt commented Feb 19, 2024

用预测库对应版本的 opt 工具重新生成对应 nb 模型跑下试试?
事实上通过这种方法更新了一个版本,问题依旧存在

@hong19860320
Copy link
Collaborator

能把你的原始 Paddle 模型发一下吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants