-
Notifications
You must be signed in to change notification settings - Fork 9
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
Failed to find image for token at index XXX for Qwen2-VL-7B #464
Comments
Hi @jsoma thanks a lot for the bug report. A few questions:
Thanks |
I came from the OPs blog post, so hopefully I represent the requested information correctly.
I have the same findings...not sure if it's related to GPU being disabled for CLIP? ggml-org/llama.cpp#10896 |
I'm running into the same issue. The allenAI released an official GGUF too, I might try that to see if anything is different. |
Looks like they forgot the Ran the same script on the same small and large files and worked the same (small processed fine, I copied the query that gets sent and just pasted it into the UI (just to make sure it wasn't something funky with the API/code) and it just hung at |
Thanks for covering for me, @wbste, you're spot-on. I tried it with both of those models, same error. One's the Q6_K, one's Q4_K_M, but same error in either case. Just tried again with the lm-studio one, same error, and cmd+shift+R gives me: ![]() I think a gotcha is it doesn't break with all images or all prompts, but it's 100% reproducible for the cases in which it does break (using the image + text above, among plenty of others) |
Which version of LM Studio?
0.3.10-6 (and earlier)
Which operating system?
macOS Sonoma
What is the bug?
Repeated
Failed to find image for token at index XXX
errors when using Qwen2-VL-7B models such asqwen2-vl-7b-instruct
andallenai_olmocr-7b-0225-preview
. Doesn't happen for every image or every prompt, though. Once it hits that error it hangs.Logs
Token failure index is the same across the two models mentioned above.
To Reproduce
Prompt:
With the following image attached:
It works fine with that image and "hello," though.
The text was updated successfully, but these errors were encountered: