Skip to content

[Bug]: qwen2.5-vl throw 500 Internal Server Error #17896

@xlg-go

Description

@xlg-go

How to resolve the issue where qwen2.5-vl returns a "500 Internal Server Error" when accessed via the OpenAI SDK?

  1. env:
V1 LLM engine (v0.8.5.dev530+g0a9bbaa10)
ubuntu 22.04
cuda12.6
torch2.7.0
qwen2.5-vl-32b-instruct
  1. my solution:
    pip install qwen-vl-utils
from qwen_vl_utils import process_vision_info

messages = [{"content": [{"type": "image", "image": f"{img_path}", }]}]
image_inputs, _ = process_vision_info(messages)
image_preprocessed = image_inputs[0]
# image_preprocessed to base64str
# via OpenAI SDK

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions