lmdeploy icon indicating copy to clipboard operation
lmdeploy copied to clipboard

[Bug] 关于流式并发相关

Open Dingxiangxiang opened this issue 1 year ago • 1 comments

Checklist

  • [ ] 1. I have searched related issues but cannot get the expected help.
  • [ ] 2. The bug has not been fixed in the latest version.

Describe the bug

lmdeploy 4.0版本,pipline的方式流式输出,好像不支持并发 ,请问大佬们是怎么解决的

Reproduction

lmdeploy pipline推理的

Environment

lmdeploy 4.0

Error traceback

No response

Dingxiangxiang avatar May 08 '24 03:05 Dingxiangxiang

麻烦贴一下使用的脚本。stream_infer 本身就是支持多个 prompt 输入的

AllentDan avatar May 08 '24 03:05 AllentDan

pipeline 并发请调用协程接口 generate

AllentDan avatar Jun 20 '24 09:06 AllentDan