-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[Usage]: Qwen/Qwen2-VL-7B-Instruct #10994
Comments
Please read the examples on this page. |
thanks @DarkLight1337 the link shows the python configuration of Phi-3.5-vision-instruct not Qwen 2 vL instruct. |
Our online server follows OpenAI API spec. You can refer to their official docs on some example curl commands. |
thanks @DarkLight1337 this documentation shows me to use images , i want to use video also . could you send me any documentation of it ? |
You can replace |
There is also a short section on video input here. |
Hi, did you get this sorted by any chance? trying to load a base64 video and it doesn't seem to work at all |
Can you show how you're sending the video to the model? |
Maybe it is related to this bug I found: huggingface/transformers#35412 |
all I'm doing is opening a video file (that works) converting it to base64 and sending it along, actually doing a URL works by the way, it's just the base64 that seems broken.
produces this error
|
It looks like you're sending a MP4 video. In that case, the media type of the URL should be The available media types are listed here: https://www.iana.org/assignments/media-types/media-types.xhtml |
thanks for trying to help, changed to
|
Can you try out #11492? It should fix your problem. |
yep the commit works. |
|
You can refer to this one. |
The model to consider.
https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct
The closest model vllm already supports.
No response
What's your difficulty of supporting the model you want?
i deployed the model using vllm using the below command .
vllm serve Qwen/Qwen2-VL-7B-Instruct
How could i call this endpoint using curl command ?
i used this curl command:
curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"Qwen/Qwen2-VL-7B-Instruct","messages":[{"role":"system","content":"You are Qwen, a vision-language AI assistant created by Alibaba Cloud."},{"role":"user","content":"Describe this image in detail. [Image: '"$(base64 -w 0 /home/azureuser/qwen/test.jpeg)"']"}],"temperature":0.7,"top_p":0.8,"max_tokens":100}'
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: