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

2024.6.12 master分支Android构建报错 #199

Open
bulletProofCat opened this issue Jun 12, 2024 · 0 comments
Open

2024.6.12 master分支Android构建报错 #199

bulletProofCat opened this issue Jun 12, 2024 · 0 comments

Comments

@bulletProofCat
Copy link

看起来错误原因是这个commit修改了llm.hpp,但是Android的jni代码并没有做同步的修改导致:

23b9249

Android出问题的代码:

https://github.com/wangzhaode/mnn-llm/blob/84a52f401fde86db477c55e839f167bb8f464fb2/android/app/src/main/jni/llm_mnn_jni.cpp

上面这个JNI代码中:
llm->load(model_dir)
llm->load_progress()
都因为hpp声明变了,但是JNI代码没有同步修改而有报错

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

1 participant