langchainchatchat 卡在加载模型chatglm2-6b-int4

参照该文章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 ...
 

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值