THUDM / ChatGLM3

ChatGLM3 series: Open Bilingual Chat LLMs | 开源双语对话语言模型
Apache License 2.0
13.51k stars 1.57k forks source link

ModuleNotFoundError: No module named 'huggingface_hub.inference._text_generation' #1307

Open virtualpeer opened 3 months ago

virtualpeer commented 3 months ago

System Info / 系統信息

streamlit run main.py

ModuleNotFoundError: No module named 'huggingface_hub.inference._text_generation'

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

Reproduction / 复现过程

streamlit run main.py

Expected behavior / 期待表现

streamlit run main.py

zRzRzRzRzRzRzR commented 2 months ago

这个不是TGI的模型

ZC1231 commented 2 months ago

降低huggingface_hub的版本,尝试huggingface_hub==0.19.4

ziyou221 commented 2 weeks ago

我也遇到了同样的问题,尝试降级huggingface_hub,也没用