-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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] 启动脚本文件startup.py时遇到的模型路径报错 #3066
Comments
🤖 嘿,@Fripping!很高兴再次见到你,希望你过得不错! 根据您提供的错误信息,这个问题可能是由于模型路径不正确或者模型文件在指定的路径下不存在。您可以通过验证 此外,您使用的模型文件可能与您正在使用的Langchain-Chatchat版本不兼容。请确保模型文件与Langchain-Chatchat版本0.2.10兼容。 还有一种可能是您使用的Python版本存在问题。Langchain-Chatchat可能与Python 3.10.13不完全兼容。您可以尝试使用不同的Python版本。 如果以上建议都不能解决您的问题,我建议您查看一下错误日志,获取更详细的信息。这将有助于我们更准确地确定问题所在。 另外,我在Langchain-Chatchat的问题库中找到了一些类似的已解决问题,可能对您有所帮助:
希望这些信息能对您有所帮助。如果您有任何其他问题或需要更多的帮助,请随时告诉我。 Sources
|
@dosu-bot 补充一下具体报错: |
@dosu-bot 另外run_model_maker是哪个文件的函数? |
🤖 Based on the error message you provided, it seems that the The You can find this function in the def run_model_worker(
model_name: str = LLM_MODELS[0],
controller_address: str = "",
log_level: str = "INFO",
q: mp.Queue = None,
started_event: mp.Event = None,
):
...
kwargs = get_model_worker_config(model_name)
...
model_path = kwargs.get("model_path", "")
kwargs["model_path"] = model_path
... To fix this issue, you need to ensure that the As for the Regarding similar issues, I found several in the Langchain-Chatchat repository that might be helpful: These issues suggest checking the integrity of the model files, ensuring that all necessary dependencies are installed, and verifying that the Python interpreter is compatible with the model. Sources
|
2024-02-24 13:31:46 | ERROR | stderr | AssertionError: None 你模型位置没对吧 |
@zRzRzRzRzRzRzR 检查过了,配置文件上的路径是没问题的 |
\dell、.cache 这不是明显有问题么 |
问题描述 / Problem Description
在启动脚本文件startup.py加载chatglm3-6b,遇到了模型路径为空的报错
复现问题的步骤 / Steps to Reproduce
2024-02-24 13:31:46 | ERROR | stderr | File "C:\Users\dell、.cache\huggingface\modules\transformers_modules\chatglm3-6b\tokenization_chatglm.py", line 17, in init assert os.path.isfile(model_path), model_path
2024-02-24 13:31:46 | ERROR | stderr | AssertionError: None
是不是model.config配置文件的问题?
预期的结果 / Expected Result
描述应该出现的结果 / Describe the expected result.
实际结果 / Actual Result
描述实际发生的结果 / Describe the actual result.
环境信息 / Environment Information
附加信息 / Additional Information
The text was updated successfully, but these errors were encountered: