DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[Bug]issues with separate deployment of the base large model and DBGPT project

Open zhaoyinjiang9825 opened this issue 11 months ago • 8 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

  • [X] Chat Data
  • [ ] Chat Excel
  • [ ] Chat DB
  • [ ] Chat Knowledge
  • [ ] Model Management
  • [ ] Dashboard
  • [ ] Plugins

Installation Information

Device information

GPU:8 GPU_Memery:24GB

Models information

LLM:Qwen_72B_SFT微调大模型 Embedding_model:text2vec

What happened

请问底座大模型和DBGPT项目分开部署,大模型部署在一台机器上,DBGPT部署在另一台机器上,这种情况是否有对应的解决方案

What you expected to happen

麻烦指导一下,源码需要改哪些地方

How to reproduce

Additional context

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

zhaoyinjiang9825 avatar Mar 01 '24 02:03 zhaoyinjiang9825

try cluster deploy mode https://docs.dbgpt.site/docs/installation/model_service/cluster

Aries-ckt avatar Mar 01 '24 02:03 Aries-ckt

请问是否可以添加用户自己的模型代理,除了官方提供的那几个代理以外,我想将自己的微调模型做成代理供dbgpt使用,这种方式有解决方案吗?

zhaoyinjiang9825 avatar Mar 01 '24 06:03 zhaoyinjiang9825

@Aries-ckt

zhaoyinjiang9825 avatar Mar 01 '24 06:03 zhaoyinjiang9825

yeah, you should write your LLM service adaptor.

Aries-ckt avatar Mar 01 '24 16:03 Aries-ckt

try cluster deploy mode https://docs.dbgpt.site/docs/installation/model_service/cluster 404 打不开

Dd88664185 avatar Mar 06 '24 04:03 Dd88664185

我作了如下工作: (1)参照baichuan_proxy创建了dbgpt\model\proxy\llms\railway.py,输入输出都和baichuan.py一样。 (2)在dbgpt\model\adapter\proxy_adapter.py,添加了如下代码: 截图1 (3)dbgpt\configs\model_config.py和dbgpt_private\config.py都做了相应的修改 第一个: 截图2 第二个: 联想截图_20240306142808

修改.env文件,换成自己指定的代理但还是跑不起来报如下错误: 截图3 请问除了这些,我还需要做哪些工作?@Aries-ckt

zhaoyinjiang9825 avatar Mar 06 '24 06:03 zhaoyinjiang9825

是的,您应该编写 LLM 服务适配器。

你好 我集群部署也遇到了问题 我modesl list 是可以查看到llm模型,并且前端页面也可以看到其他服务器推送过来的模型,但使用时候就报错,请问这个该怎么解决 微信图片_20240313094522 5f1147b3d916172be9ab06c19b37441

Dd88664185 avatar Mar 13 '24 01:03 Dd88664185

This issue has been marked as stale, because it has been over 30 days without any activity.

github-actions[bot] avatar Apr 24 '24 21:04 github-actions[bot]

This issue bas been closed, because it has been marked as stale and there has been no activity for over 7 days.

github-actions[bot] avatar Jun 03 '24 21:06 github-actions[bot]