Open wuyuzhe opened 6 days ago
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.
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
mlc_chat was deprecated, it turned to mlc_llm
ah good catch, do you want to open a pr to correct this somehow @wuyuzhe or to note it in the right place?
when i used this to load local module,it print No module named 'mlc_chat' in dsp/modules/hf_client.py line 464
how to resolve it
my versions: python: 3.10 dspy-ai: 2.4.10