Skip to content

Vision models retrun error "Model does not support images. Please use a model that does" #362

Description

@mikhailkis

Which version of LM Studio?
Example: LM Studio 0.3.8

Which operating system?
Windows 10 x64

What is the bug?
All models that supposed to process images failes with error: "Error: Model does not support images. Please use a model that does." when I try send an image

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Logs
[2025-01-28 10:23:43.616] [error] [LMSInternal][Client=LM Studio][Endpoint=sendMessage] Error in RPC handler: Error: Rehydrated error
support images. Please use a model that does.
at _0x398b8f. (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:408:104227)
at _0x1f1ce6.subscriber (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:81:1785)
at _0x1f1ce6.notifier (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:242:135159)

  • Caused By: Error: Channel Error
    at (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:103:62933)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  • Caused By: Error: received prediction-error
    at _0x398b8f. (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:408:104227)
    at _0x19257a._0x2b6fbc (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:24:270226)
    at _0x19257a.emit (node:events:519:28)
    at _0x19257a.onChildMessage (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:24:244659)
    at _0x19257a.onChildMessage (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:24:284260)
    at ForkUtilityProcess. (D:\LMSTUDIO\LM Studio\resources\app.webpack\main\index.js:24:243659)
    at ForkUtilityProcess.emit (node:events:519:28)
    at ForkUtilityProcess.a.emit (node:electron/js2c/browser_init:2:71823)
  • Caused By: Error: Model does not support images. Please use a model that does.
    at _0x1ed565. (D:\LMSTUDIO\LM Studio\resources\app.webpack\lib\llmworker.js:7:761123)
    at async _0x334b09..predictTokens (D:\LMSTUDIO\LM Studio\resources\app.webpack\lib\llmworker.js:9:43638)
    at async Object.predictTokens (D:\LMSTUDIO\LM Studio\resources\app.webpack\lib\llmworker.js:14:10581)
    at async Object.handleMessage (D:\LMSTUDIO\LM Studio\resources\app.webpack\lib\llmworker.js:14:2019)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Chat' with any vision model (for example xtuner/llava-phi-3-mini-gguf)
  2. Click on 'Add Image'
  3. Press 'Enter'
  4. See error

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