赞
踩
参照该文章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 ...
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。