Coder Social home page Coder Social logo

[Bug] "Build Android APP from Source" step2: "mlc_llm package" returns error ""path/to/mlc-llm/android/android/mlc4j" does not exist" about mlc-llm HOT 6 OPEN

mrbrantofgithub avatar mrbrantofgithub commented on July 16, 2024
[Bug] "Build Android APP from Source" step2: "mlc_llm package" returns error ""path/to/mlc-llm/android/android/mlc4j" does not exist"

from mlc-llm.

Comments (6)

tqchen avatar tqchen commented on July 16, 2024

You need to clone mlc LLM and set path to mlc source to the real path of the mlc LLM source code

from mlc-llm.

mrbrantofgithub avatar mrbrantofgithub commented on July 16, 2024

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.

  1. cd /path/to/MLCChat # e.g., "android/MLCChat"
  2. export MLC_LLM_SOURCE_DIR=/path/to/mlc-llm # e.g., "../.."
  3. mlc_llm package
    But mlc4j is in "path/to/mlc-llm/android", there is no directory "path/to/mlc-llm/android/android"
    "path/to" is only a discription of my path not the path I used.

from mlc-llm.

tqchen avatar tqchen commented on July 16, 2024

make sure you set it wiyhout the android subdir, is stead, do set the source dir to path/to/mlc-llm

from mlc-llm.

mrbrantofgithub avatar mrbrantofgithub commented on July 16, 2024

make sure you set it wiyhout the android subdir, is stead, do set the source dir to path/to/mlc-llm

  1. pwd, return "**/mlc-llm/android/MLCChat"
  2. export $MLC_LLM_SOURCE_DIR, return "../.."
  3. cd ../..
  4. pwd, return "**/mlc-llm"

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.