Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for Null Image input #94

Open
dtoconnor opened this issue Oct 18, 2024 · 1 comment
Open

Support for Null Image input #94

dtoconnor opened this issue Oct 18, 2024 · 1 comment

Comments

@dtoconnor
Copy link

Feature request: allow messages with no images to be sent to the VLM (specifically Qwen2-VL-7B-8bit). This is supported with transformers and other libraries by default, but null images cause shape errors upon inference in MLX_VLM, e.g.

ValueError: Invalid high padding size (-578) passed to pad for axis 1. Padding sizes must be non-negative

Apart from that, I love the work you are doing.

@Blaizzy
Copy link
Owner

Blaizzy commented Oct 19, 2024

Hey @dtoconnor

Thanks, that's a nice suggestion

I will add it to the next release

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants