-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[BUG] ERROR: TypeError: Caught exception: object of type 'NoneType' has no len() #3727
Comments
The
These solutions are derived from similar issues found in the Langchain-Chatchat repository. They aim to address the problem by ensuring that the code does not attempt to operate on Sources
|
模型没有正常返回的错误都是这样的 |
这个错误怎么修改啊 |
问题描述 / Problem Description
用简洁明了的语言描述这个问题 / Describe the problem in a clear and concise manner.
使用Qwen1.5-72B-Chat时,chat回答一半报错ERROR: TypeError: Caught exception: object of type 'NoneType' has no len()
使用Qwen1.5-72B-Chat-GPTQ-Int8时,chat回答直接报错ERROR: TypeError: Caught exception: object of type 'NoneType' has no len()
操作系统:Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35.
python版本:3.11.7 (main, Dec 15 2023, 18:12:31) [GCC 11.2.0]
项目版本:v0.2.10
langchain版本:0.0.354. fastchat版本:0.2.35
当前使用的分词器:ChineseRecursiveTextSplitter
当前启动的LLM模型:['Qwen1.5-72B-Chat'] @ cuda
{'device': 'cuda',
'host': '0.0.0.0',
'infer_turbo': False,
'model_path': 'Qwen1.5-72B-Chat',
'model_path_exists': True,
'port': 20002}
当前Embbedings模型: bge-large-zh-v1.5 @ cuda
环境信息 / Environment Information
附加信息 / Additional Information
添加与问题相关的任何其他信息 / Add any other information related to the issue.
The text was updated successfully, but these errors were encountered: