当前位置:   article > 正文

langchainchatchat 卡在加载模型chatglm2-6b-int4_loading the model ['chatglm2-6b-int4'] on worker

loading the model ['chatglm2-6b-int4'] on worker

参照该文章https://blog.csdn.net/xqdd/article/details/134247532

部署了langchainchatchat

环境: CPU 11代i7 2.8G  内存:32G

卡在加载模型时没反应了,请大神指点一下,运行结果如下:

==============================Langchain-Chatchat Configuration==============================
操作系统:Windows-10-10.0.22631-SP0.
python版本:3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]
项目版本:v0.2.7
langchain版本:0.0.340. fastchat版本:0.2.32


当前使用的分词器:ChineseRecursiveTextSplitter
当前启动的LLM模型:['chatglm2-6b-int4'] @ cpu
{'device': 'cpu',
 'host': '127.0.0.1',
 'infer_turbo': False,
 'model_path': 'THUDM\\chatglm2-6b-int4',
 'port': 20002}
当前Embbedings模型: m3e-base @ cpu
==============================Langchain-Chatchat Configuration==============================


2024-02-03 10:07:08,892 - startup.py[line:647] - INFO: 正在启动服务:
2024-02-03 10:07:08,892 - startup.py[line:648] - INFO: 如需查看 llm_api 日志,请前往 F:\pythonProject\Langchain-Chatchat\logs
2024-02-03 10:07:10 | ERROR | stderr | INFO:     Started server process [19380]
2024-02-03 10:07:10 | ERROR | stderr | INFO:     Waiting for application startup.
2024-02-03 10:07:10 | ERROR | stderr | INFO:     Application startup complete.
2024-02-03 10:07:10 | ERROR | stderr | INFO:     Uvicorn running on http://127.0.0.1:20000 (Press CTRL+C to quit)
2024-02-03 10:07:12 | INFO | model_worker | Loading the model ['chatglm2-6b-int4'] on worker 508fc1da ...
 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/490074
推荐阅读
相关标签
  

闽ICP备14008679号