Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks
virtualpeer opened this issue Aug 5, 2024 · 3 comments
Open
2 tasks
Assignees

Comments

@virtualpeer
Copy link

System Info / 系統信息

streamlit run main.py

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

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

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

streamlit run main.py

Expected behavior / 期待表现

streamlit run main.py

@zRzRzRzRzRzRzR zRzRzRzRzRzRzR self-assigned this Sep 4, 2024
@zRzRzRzRzRzRzR
Copy link
Member

这个不是TGI的模型

@ZC1231
Copy link

ZC1231 commented Sep 5, 2024

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

@ziyou221
Copy link

ziyou221 commented Nov 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants