OGAM icon indicating copy to clipboard operation
OGAM copied to clipboard

Errors on in-app vision models

Open ChainsawCowboy opened this issue 8 months ago • 6 comments

Description

Several vision models are not working as expected.

Steps to Reproduce

  1. Download vision capable models from selection included in the app.
  2. Attempt to upload photo or ask question about photo.
  3. Does not accept photo upload and option is greyed out or if photo is accepted there is an error.

Expected Behavior

Vision capable models should accept uploaded photos and perform requested actions.

Actual Behavior

Errors (See screenshots)

Vision not supported: Load vision capable with mmproj
Generation error: Failed to evaluate chunks

Screenshots / Screen Recordings

Image Image

Environment

  • Platform: Android
  • OS Version: Latest version of GrapheneOS
  • Device: Pixel 7 Pro
  • App Version: 0.0.81
  • Model in use: Various versions of models in the Qwen and Smol families

Additional Context

I have tested several sizes and versions of the models and get vision errors with most, but not all. All models are from the selection available in app. Small versions are shown in screen shots, but also tested with largest and medium versions of same models.

ChainsawCowboy avatar Mar 29 '26 02:03 ChainsawCowboy

I think I figured out was causes these issues. It seems to happen when you have deleted a model with the same name (even a different size or quantization), so I guess it deletes all the mmproj files, including ones associated with models you didn't delete. If you re-download a vision model it works as long as you don't delete any in the same (name) family.

ChainsawCowboy avatar Mar 30 '26 15:03 ChainsawCowboy

Hi @ChainsawCowboy thankyou for flagging this buddy, and your analysis might be onpoint.I am trying to reproduce this can you tell the model names where you faced this issue. you did tell qwen and smol model families but if you know any more specific like these model names with these quantizations are facing this error would be really helpful

dishit-wednesday avatar Apr 01 '26 11:04 dishit-wednesday

Sorry for the late reply. Unfortunately, I don't have anymore information to provide at this time. I haven't had any more issues since I realized it didn't happen as long as I didn't delete models of the same type. I will take note of all details and let you know if I run into issues again.

Thanks a lot for this app. I've been recommending it to everyone I know.

ChainsawCowboy avatar Apr 06 '26 20:04 ChainsawCowboy

I downloaded a vision model from hugging face and I had same problem but when I download it inside the app it worked. Model was LFM2.5 VL 450M

Aboud10-star avatar Apr 10 '26 03:04 Aboud10-star

@Aboud10-star - Not able to reproduce this: I have a pixel 9a and I was able able get smart responses from the vision model LFM2.5 VL 450M with image input, if there's something i'm missing please attach a video for your use-case - closing this for now, if there's evidence for this then will reopen

Ganeshship avatar Apr 10 '26 05:04 Ganeshship

OK, I tried it again and recreated the issue when deleting a model of the same name family. I had "Qwen3.5-2b-heretic" loaded from searching hugging face through the app, then loaded "Qwen3.5-0.8-GGUF" from the list of suggested models in the app. Both functioned properly until I deleted "Qwen3.5-0.8-GGUF". After that, the "add a photo" option is greyed out and no longer available in "Qwen3.5-2b-heretic". Originally, I tested this with several versions and sizes, not necessarily the two mentioned here and had the same issue, so it's not specific to only the models from this example. It was always with models that contained part of the same name in the title, though.

ChainsawCowboy avatar Apr 11 '26 04:04 ChainsawCowboy