InternLM / lmdeploy

LMDeploy is a toolkit for compressing, deploying, and serving LLMs.
https://lmdeploy.readthedocs.io/en/latest/
Apache License 2.0
4.74k stars 432 forks source link

[Bug]MiniCPM-V 2.0是没有支持吗? #2058

Open DankoZhang opened 4 months ago

DankoZhang commented 4 months ago

Checklist

Describe the bug

用lmdeploy加载MiniCPM-V 2.0,报了如下的错误:

image

Reproduction

采用pipeline模式加载的模型: pipe = pipeline(model_path)

Environment

lmdeploy==0.4.2

Error traceback

No response

DankoZhang commented 4 months ago

@lvhan028 大佬帮忙看看

lvhan028 commented 4 months ago

https://huggingface.co/openbmb/MiniCPM-Llama3-V-2_5 is supported by lmdeploy 0.5.0 May upgrade lmdeploy and give a try.

DankoZhang commented 4 months ago

https://huggingface.co/openbmb/MiniCPM-Llama3-V-2_5 is supported by lmdeploy 0.5.0 May upgrade lmdeploy and give a try.

@lvhan028 一样的错误,这个是MiniCPM-V 2.0,不是MiniCPM-Llama3-V-2_5,是现在还没支持么

irexyc commented 4 months ago

@DankoZhang

2.0没有支持。

有2.5了还用2.0是因为他小么?

DankoZhang commented 4 months ago

@DankoZhang

2.0没有支持。

有2.5了还用2.0是因为他小么?

@irexyc irexyc 是的,小一些。这个适配起来复杂么