-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] "Build Android APP from Source" step2: "mlc_llm package" returns error ""path/to/mlc-llm/android/android/mlc4j" does not exist" #2600
Comments
You need to clone mlc LLM and set path to mlc source to the real path of the mlc LLM source code |
I had done all you said, then I met this error.
|
make sure you set it wiyhout the android subdir, is stead, do set the source dir to |
|
Hi @mrbrantofgithub, happy to follow up here. You need to set |
hi @MasterJH5574 , thank you for your reply. After using the absolute path I encountered some other errors. -- TVM_SOURCE_DIR: /mlc-llm/android/mlc4j/../../3rdparty/tvm [ 100%] ** */mlc-llm/android/mlc4j/../../3rdparty/tvm/include/tvm/runtime/container/string.h:511:27: error: no matching member function for call to 'as' **/mlc-llm/android/mlc4j/../../3rdparty/tvm/include/tvm/runtime/container/array.h:261:12: error: no template named 'bool_constant' in namespace 'std'; did you mean '_BoolConstant'? |
@mrbrantofgithub I was also facing this problem. Update NDK to v27 and also update ndk environment variable respectively |
@mZos Thank you very much! It works. |
glad it works out |
馃悰 Bug
I'm try to build an android app according to the Docs "Android SDK".
In step "Build Runtime and Model Libraries", "mlc_llm pacakage" returns error ""path/to/mlc-llm/android/android/mlc4j" does not exist".
There is no directory "android" in directory "path/to/mlc-llm/android".
I install mlc llm python package from prebuilt develop package on macos.
The text was updated successfully, but these errors were encountered: