Skip to content
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

qwen2Vl+vllm框架如何添加视频内容 #539

Open
zhangzhiyuan303 opened this issue Nov 18, 2024 · 2 comments
Open

qwen2Vl+vllm框架如何添加视频内容 #539

zhangzhiyuan303 opened this issue Nov 18, 2024 · 2 comments

Comments

@zhangzhiyuan303
Copy link

QWen2VL是支持这个type调用视频,但是我用vllm框架+qwen2vl 7b 权重,那边返回报错。
{'object': 'error', 'message': 'Unknown part type: video_url', 'type': 'BadRequestError', 'param': None, 'code': 400}
{'object': 'error', 'message': 'Unknown part type: video', 'type': 'BadRequestError', 'param': None, 'code': 400}
messages = [
{
"role": "user",
"content": [
{
"type": "video",
"video": [
"file:///path/to/frame1.jpg",
"file:///path/to/frame2.jpg",
"file:///path/to/frame3.jpg",
"file:///path/to/frame4.jpg",
],
},
{"type": "text", "text": "Describe this video."},
],
}
]

@Wiselnn570
Copy link

@zhangzhiyuan303 我也遇到了同样的问题,请问解决了吗

@DarkLight1337
Copy link

DarkLight1337 commented Dec 25, 2024

vLLM現在還不支持file:///視頻,請在vLLM那邊開一個新的請求。

已經透過 vllm-project/vllm#11620 支持file:///視頻。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants