Skip to content

Models go MAD when ByteIO image is passed #174

Description

@deepblue96

As per description the models go completely mad when an image is passed as ByteIO to the prepare_image method, the solution is to add a name explicitly to the image like:
image_handle = lms.prepare_image(io.BytesIO(image_data), name="image.png")

please add it to your documentation or fix it i lost over 20 minutes to understand the madman behavior the vLLM was showing.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions