-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] MiniCPM-llama3-V2_5 启动后使用image url 使用base64 没有回复结果 #1819
Comments
启动的命令可以加上 api call 可以把完整的请求发出来。可以写到文本文件中,然后上传到issue这里。 |
文件太大, 我尝试传一下. |
MiniCPM-Llama3-V-2_5 目前不支持 |
更新到最新的lmdeploy 后启动 MiniCPM-Llama3-V-2_5 lmdeploy serve api_server /workspace/models/vlm/MiniCPM-Llama3-V-2_5 --server-port 8000 --model-name test. 然后通过API调用, 卡住了, 没有任何返回. 是不是这个版本不支持多模态? |
我这里正常。 启动时可以加 |
最后三行是请求后的输出,然后就一直卡着了. 没有任何响应. 10来分钟都没有响应. |
你启动server时的工作目录下面有lmdeploy文件夹么?如果有的话,import相关内容的时候,有可能引入的内容是旧的。 v0.5.0已经发版了,建议直接安装v0.5.0的版本,然后启动命令之前,可以建一个空的文件夹并进入。 |
按照你的方式, 我安装了v0.5.0最新版本, 新建环境重新安装的。然后在工作路经下创建了一个lmdeploy文件夹。然后启动。
启动后,调用还是一直卡着 |
今天重新测试, 启动参数:lmdeploy serve api_server /workspace/models/vlm/MiniCPM-Llama3-V-2_5 --model-name test --server-port 8000 --log-level INFO --session-len 10240 请求后没有返回,看日志如下: 图片文件为1024x1024 左右。之前卡住没有返回也没有日值,图片大小为2048x2048左右. 请求后输出:
|
使用你们提供的tiger文件可以正常返回,但是使用自己的图片文件就不行, 使用的是 4090 24G |
另外早上测试发现 InternVL2-8B 使用 backed pytorch 可以正常使用, 但是TurboMind 就不行。 |
方便把图片传上来么? 另外可以用 |
我明天试一下这个镜像,图片因为涉及客户隐私信息,不方便上传在这,不过原图大概4500x4500像素,大约4m左右。另外请问 图片大小和 session-len 有没有关? 和显存暂用大致如何计算 |
Checklist
Describe the bug
MiniCPM-llama3-V2_5 启动后使用image url 使用base64 没有回复结果
Reproduction
启动: LMDeploy server api_server /workspace/vlm/MiniCPM-Llama3-V-2_5 --model-name mini --backend pytorch --server-port 8000
api call:
{
"model": "mini",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": [{"type": "text": "text":"描述你看到的图片"}, {"type":"image_url","image_url": {"url": "data:image/jpeg;base64,........."}}]
]
}
响应 的 message 里面是空的.
Environment
Error traceback
No response
The text was updated successfully, but these errors were encountered: