GithubHelp home page GithubHelp logo

Comments (10)

tqchen avatar tqchen commented on June 1, 2024

the error was due to lack of cmake dependency, can you install cmake via conda?

from mlc-llm.

jeanhubdesv avatar jeanhubdesv commented on June 1, 2024

Thank you for your feedback. I did that but it's failing now somewhere else.
I am going to try on a linux machine.

from mlc-llm.

AkulRT avatar AkulRT commented on June 1, 2024

Facing the same issue here.
image
I'm not sure what I'm doing any wrong, any help would be greatly appreciated.

from mlc-llm.

tqchen avatar tqchen commented on June 1, 2024

https://llm.mlc.ai/docs/deploy/android.html#additional-guides-for-windows-users
Please try the above tips, just confirmed with a windows

from mlc-llm.

Nikhil34712 avatar Nikhil34712 commented on June 1, 2024

6
what is that win2 error file not found the model was compiled but it should be packaged to create appication using android studio right?? but its not packaging i tried in windows , linux i tried first compiling with mlc_llm compile comand and give the path of compiled model in mlc-package-config.json file still its showing error file not found

from mlc-llm.

tqchen avatar tqchen commented on June 1, 2024

in this case, seems you didn't specify TVM_NDK_CC env variable to the right compiler

from mlc-llm.

Nikhil34712 avatar Nikhil34712 commented on June 1, 2024

in this case, seems you didn't specify TVM_NDK_CC env variable to the right compiler
I specified same as in the mlc-llm official document like TVM_NDK_CC: %ANDROID_NDK%/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android24-clang I tried this path I tried with normal clang path I tried with clang++ path even though it’s not working

from mlc-llm.

tqchen avatar tqchen commented on June 1, 2024

In this case it was looking for llvm-ar, please check if you have llvm-ar in that path

If you can list files under %ANDROID_NDK%/toolchains/llvm/prebuilt/windows-x86_64/bin that would be helpful to see if you can find files similar to llvm-ar

from mlc-llm.

Nikhil34712 avatar Nikhil34712 commented on June 1, 2024

yeah llvm-ar is available in same path though its not working

from mlc-llm.

tqchen avatar tqchen commented on June 1, 2024

Thanks @Nikhil34712 , do you mind go into file ndk.py as indicated in the error message and print out the cmd. See there is a subprocess.Popen, you can try to print out cmd part and see what it tries to do. Then it should give hints about why it fails

from mlc-llm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.