Closed wli173-ford closed 4 months ago
huggingface_hub 版本检查
(https://github.com/THUDM/ChatGLM3/issues/1074#issuecomment-2030113344)
i have changed this item huggingface_hub
from >=0.19.4
to ==0.19.4
in composite_demo/requirements.txt
,and it works for me.
(#1074 (comment)) i have changed this item
huggingface_hub
from>=0.19.4
to==0.19.4
incomposite_demo/requirements.txt
,and it works for me.
works for me
Feature request / 功能建议
ModuleNotFoundError: No module named 'huggingface_hub.inference._text_generation'
File "/root/miniconda3/envs/chatglm3-demo/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/usr/ai/ChatGLM3/composite_demo/main.py", line 10, in
import demo_chat, demo_ci, demo_tool
File "/usr/ai/ChatGLM3/composite_demo/demo_chat.py", line 4, in
from client import get_client
File "/usr/ai/ChatGLM3/composite_demo/client.py", line 9, in
from huggingface_hub.inference._text_generation import TextGenerationStreamResponse, Token
Motivation / 动机
无
Your contribution / 您的贡献
无