InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: switching models produces corrupt images

Open grunblatt-git opened this issue 5 months ago • 3 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

Operating system

macOS

GPU vendor

Apple Silicon (MPS)

GPU model

No response

GPU VRAM

No response

Version number

5.0.0.a5

Browser

Chrome

Python dependencies

No response

What happened

When switching between different checkpoints invoke starts to produce corrupt images.

Here is an example of a corrupt image. Below is the image that invoke produced after restarting (same settings & same seed)

a460558f-0667-4e2e-86da-693b74c2b061 1cb59056-7f81-4ada-963e-a3ba7226a223

What you expected to happen

Switching to different checkpoints should not negatively impact the generation process. I.e. generating an image after switching between checkpoints several times should produce the same output as generating an image with the same settings right after starting up invoke

How to reproduce the problem

Start up invoke and queue up images. They can use the exact same settings and prompt, but each image should be generated with a different checkpoint.

After generating 3-5 images (this number might be hardware dependant) invoke starts to output corrupt images exclusively. Every generation, even with checkpoints that worked well before, produces images that look like noise.

Some more examples:

2aa7f516-4e1b-4efe-ae11-34fbc5c7b609 2f9a1977-5af8-4791-9608-70c7bd7fa11e 4e5f6425-2443-469f-83d5-4467b73d05eb 0590729f-f25f-4409-9746-a85341117b83 a460558f-0667-4e2e-86da-693b74c2b061

Additional context

Rolling back to version 4.2.7 fixes this issue. I can reproduce this error since version 4.2.8

Generating several images with the same checkpoint works fine in all versions.

Discord username

No response

grunblatt-git avatar Sep 13 '24 23:09 grunblatt-git