野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 485|回复: 2

[求助] RK3588根据教程跑rkllm报错,请问有哪位大佬遇到过?

[复制链接]
发表于 2024-8-31 12:00:14 | 显示全部楼层 |阅读模式
cat@lubancat:~/rknn-llm/rkllm-runtime/examples/rkllm_api_demo/build/build_linux_aarch64_Release$ ./llm_demo /home/cat/rkllm/qwen.rkllm
rkllm init start
rkllm-runtime version: 1.0.1, rknpu driver version: 0.9.6, platform: RK3588
E RKNN: [03:41:57.506] failed to convert handle(1020) to fd, ret: -1, errno: 24, errstr: Too many open files
E RKNN: [03:41:57.507] failed to malloc npu memory, size: 2368, flags: 0x2
E RKNN: [03:41:57.507] failed to convert handle(1021) to fd, ret: -1, errno: 24, errstr: Too many open files
E RKNN: [03:41:57.507] failed to malloc npu memory, size: 240, flags: 0xa
E RKNN: [03:41:57.507] failed to convert handle(1022) to fd, ret: -1, errno: 24, errstr: Too many open files
E RKNN: [03:41:57.507] failed to malloc npu memory, size: 3136, flags: 0x2
E RKNN: [03:41:57.507] failed to convert handle(1023) to fd, ret: -1, errno: 24, errstr: Too many open files
E RKNN: [03:41:57.507] failed to malloc npu memory, size: 480, flags: 0xa
E RKNN: [03:41:57.507] failed to convert handle(1024) to fd, ret: -1, errno: 24, errstr: Too many open files
E RKNN: [03:41:57.507] failed to malloc npu memory, size: 4672, flags: 0x2
E RKNN: [03:41:57.507] failed to convert handle(1025) to fd, ret: -1, errno: 24, errstr: Too many open files
E RKNN: [03:41:57.507] failed to malloc npu memory, size: 960, flags: 0xa
E RKNN: [03:41:57.515] failed to convert handle(1026) to fd, ret: -1, errno: 24, errstr: Too many open files


回复

使用道具 举报

发表于 2024-9-2 08:42:31 | 显示全部楼层
# 修改最大可打开文件的数量
ulimit -HSn 10240
回复 支持 反对

使用道具 举报

 楼主| 发表于 2024-9-2 14:44:44 | 显示全部楼层
我修改了这个文件:sudo vim /etc/security/limits.conf
增加了两行
*                soft    nofile          65535
*                hard    nofile          65535

重启之后就好了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-9-19 09:52 , Processed in 0.105697 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表