Skip to content

[BUG] MLXVLM generates only 1 token. #315

@subsriram

Description

@subsriram

Describe the bug
Using the latest commit of mlx-swift-lm and mlx-swift on main branch, MLXVLM generates only 1 token and stops. (EOS)

To Reproduce

Run MLXChatExample from mlx-swift-examples and use qwen2.5VL:3b with an image, you will see a response of only 1 token (The or It or To for example)

Where as with the latest release (2.29.2) of mlx-swift-lm MLXChatExample works fine.

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