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

please update the rknpu version to 0.98 #195

Open
kiron111 opened this issue Oct 26, 2024 · 2 comments
Open

please update the rknpu version to 0.98 #195

kiron111 opened this issue Oct 26, 2024 · 2 comments

Comments

@kiron111
Copy link

if the rknpu version is old, all the new rkllm model will not worked
pls update it, thankyou

the rknpu 0.9.8 driver is here
https://github.com/airockchip/rknn-llm/tree/main/rknpu-driver

and pls refer to the offical doc
https://github.com/airockchip/rknn-llm/tree/main/doc
quote from the offiical doc:

补充说明: 若是发现编译内核的过程中,出现如图 2-1 的错误日志: 图 2-1 内核编译错误 用户需要修改内核头文件 kernel/include/linux/mm.h,加入以下代码:
static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags)
{ vma->vm_flags |= flags; }
static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags)
{ vma->vm_flags &= ~flags; }
@fuzhenxiao
Copy link

I agree, currently the rknpu driver is 0.9.8, while the driver here is not updated yet.

@LuckyMouseLai
Copy link

i agree, 0.9.8 is needed.

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

3 participants