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

[Feature]: Not support Qwen-VL-Chat #7017

Closed
NEOOOOOOOOOO opened this issue Aug 1, 2024 · 5 comments · Fixed by #8029
Closed

[Feature]: Not support Qwen-VL-Chat #7017

NEOOOOOOOOOO opened this issue Aug 1, 2024 · 5 comments · Fixed by #8029

Comments

@NEOOOOOOOOOO
Copy link

🚀 The feature, motivation and pitch

While trying to execute the following code:

import requests
url = "http://host:port/v1/chat/completions"

payload = json.dumps(
    {
        "model": "Qwen-VL-Chat",
        "temperature": 0.1,
        "messages": [
            {
                "role": "user",
                "content": [
                    {"type": "text", "text": "what's this?"},
                    {"type": "image_url", "image_url": {"url": "https://dashscope.oss-cn-beijing.aliyuncs.com/images/dog_and_girl.jpeg"}},
                    
                ],
            }
        ],
    }
)
headers = {"Content-Type": "application/json", "Authorization": "Bearer sk-token"}

response = requests.request("POST", url, headers=headers, data=payload)

I encountered the following error message:

{"error":{"message":"Unknown model type: {model_type} (request id: 2024080114362169993116371613991)","type":"upstream_error","param":"400","code":"bad_response_status_code"}}

vllm Version: 0.5.3.post

It appears that the Qwen-VL-Chat model is not supported by the vllm API. Can you please assist in resolving this issue?

Thank you!

Alternatives

No response

Additional context

No response

@ywang96
Copy link
Member

ywang96 commented Aug 2, 2024

Qwen-VL is not supported by vLLM yet but you're very welcome to submit a PR to do so. Please see all supported vision language models here https://docs.vllm.ai/en/latest/models/supported_models.html#vision-language-models

@alex-jw-brooks
Copy link
Contributor

I am looking into adding support for image inputs for Qwen-VL/Qwen-VL-Chat! Definitely open to collaborating somehow though 😄

@zhujinhua
Copy link

Hi, is anything update about supporting Qwen-VL/Qwen-VL-Chat in vllm?

@alex-jw-brooks
Copy link
Contributor

Hello @zhujinhua! I'm still working on it and have made some progress, I am hoping to have a PR up for it soon 🤞

@hmellor
Copy link
Collaborator

hmellor commented Aug 27, 2024

Closing as duplicate of #962

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

Successfully merging a pull request may close this issue.

6 participants