Coder Social home page Coder Social logo

No module named 'mlc_chat' about dspy HOT 5 CLOSED

wuyuzhe avatar wuyuzhe commented on August 15, 2024
No module named 'mlc_chat'

from dspy.

Comments (5)

arnavsinghvi11 avatar arnavsinghvi11 commented on August 15, 2024

Hi @wuyuzhe , please reference the ChatModuleClient documentation to install the dependencies. We can eventually add this within the file wrapped with a try/except block too.

from dspy.

wuyuzhe avatar wuyuzhe commented on August 15, 2024

first,thank you for your answer.
i didn't find the mlc-chat-nightly package from https://mlc.ai , now i installed mlc-ai-nightly-cu121 and mlc-llm-nightly-cu121 on my machine. but it also show that error.
i find the shell at https://dspy-docs.vercel.app/api/local_language_model_clients/MLC

pip install --no-deps --pre --force-reinstall mlc-ai-nightly-cu118 mlc-chat-nightly-cu118 -f https://mlc.ai/wheels
pip install transformers
git lfs install

and the command in mlc

python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cu121 mlc-ai-nightly-cu121

so, what's wrong with my environment

from dspy.

wuyuzhe avatar wuyuzhe commented on August 15, 2024

mlc_chat was deprecated, it turned to mlc_llm

from dspy.

okhat avatar okhat commented on August 15, 2024

ah good catch, do you want to open a pr to correct this somehow @wuyuzhe or to note it in the right place?

from dspy.

zhaohan-dong avatar zhaohan-dong commented on August 15, 2024

The ChatModule from mlc is depreciated as well. Tried to make a pr (#1285) to mimic the behavior.

from dspy.

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.