-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
2.14rc在rk3399上推理官方的yolov5u_n报错 #10585
Comments
可以提供下可用于复现的demo?看起来是内存不足导致的 |
或者试下更小的模型看下有没有相同的问题 |
是发你APK还是demo代码 |
|
好的 |
现在有2个现象:
|
然后新情况,如果用YOLOv5-n(1.87M)导出的nb,长时间测试还没发现crash,但是也会时不时的卡住几秒后恢复 |
试试编译库的时候加上 LITE_WITH_PROFILE,看看那个算子卡了? |
4-18330 Paddle-Lite com...e.lite.demo.yolov5n_detection I [3 11/ 8 13:48: 5.102 ...-Lite/lite/backends/opencl/cl_context.cc:59 GetKernel] --- kernel count: 1233 --- 似乎每次都是卡在这 |
2024-11-08 14:41:00.138 18304-18330 Paddle-Lite com...e.lite.demo.yolov5n_detection I [3 11/ 8 14:41: 0.138 ...-Lite/lite/backends/opencl/cl_context.cc:59 GetKernel] --- kernel count: 18474 --- 这些是crash前的日志 |
你这个是原来大模型crash的日志是吗? |
是的。是稍大些的YOLOv5u-n(2.65M)以及YOLOv10-n(2.3M)崩溃的日志,有办法解决吗 |
@cmcamdy 关于卡顿有什么解决办法吗,什么原因导致的 |
为使您的问题得到快速解决,在建立 Issue 前,请您先通过如下方式搜索是否有相似问题:历史 issue, FAQ 文档, 官方文档
如果您没有查询到相似问题,为快速解决您的提问,建立 issue 时请提供如下细节信息:
1)Paddle Lite 版本:2.14rc
2)Host 环境:centos 7.9
3)运行设备环境:rk3399
4)预测后端信息:GPU
1)预测 API:c++
2)预测选项信息:armv8
3)预测库来源:
git clone https://github.com/PaddlePaddle/Paddle-Lite.git
git checkout v2.14-rc
./lite/tools/build_android.sh --with_opencl=ON --arch=armv8 --with_extra=ON --with_log=ON --with_cv=ON --with_exception=ON
可以运行起来,过一会就会报错
2024-11-06 14:05:56.148 31714-31737 Paddle-Lite com...e.lite.demo.yolov5n_detection A [F 11/ 6 14: 5:56.148 ...-Lite/lite/backends/opencl/cl_context.cc:47 AddKernel] OpenCL error with code CL_OUT_OF_RESOURCES happened in file /home/leslie/Paddle-Lite/lite/backends/opencl/cl_context.cc at line 47. Exiting.
2024-11-06 14:05:56.149 31714-31737 libc++abi com...e.lite.demo.yolov5n_detection E terminating with uncaught exception of type paddle::lite::PaddleLiteException: Paddle-Lite C++ Exception:
[F 11/ 6 14: 5:56.148 ...-Lite/lite/backends/opencl/cl_context.cc:47 AddKernel] OpenCL error with code CL_OUT_OF_RESOURCES happened in file /home/leslie/Paddle-Lite/lite/backends/opencl/cl_context.cc at line 47. Exiting.
2024-11-06 14:05:56.150 31714-31737 libc com...e.lite.demo.yolov5n_detection A Fatal signal 6 (SIGABRT), code -6 in tid 31737 (GLThread 159)
The text was updated successfully, but these errors were encountered: