InternVL icon indicating copy to clipboard operation
InternVL copied to clipboard

[Bug] 推理停不下来

Open eigen2017 opened this issue 1 year ago • 1 comments

Checklist

  • [X] 1. I have searched related issues but cannot get the expected help.
  • [X] 2. The bug has not been fixed in the latest version.
  • [X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug

lmdeploy部署,用的openai的http请求方式,

加了stop=['']

以及penalty全为2

怀疑遇到了终止token但没停下来。 生成结果如下 6068afdf920485132cded142e748dfe

Reproduction

none

Environment

none

Error traceback

none

eigen2017 avatar Jul 23 '24 06:07 eigen2017

请问您的lmdeploy版本是什么,可以升级到v0.5.2再试试

czczup avatar Jul 30 '24 09:07 czczup