ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Image preview shows the last image, on the first step.

Open JorgeR81 opened this issue 1 year ago • 1 comments

EDIT:

This is also happening with other models ( e.g. SD1.5 ), not only Flux ... I noticed it on Flux first, because it's slower ... 

Expected Behavior

When using the Flux models, the Sampler node shows the image preview starting from step 1.

Actual Behavior

In the first step preview, we see the last step from the previous generation. And in the first image generation it shows a black image, as a preview for the first step.

This is a minor issue. The preview works fine after the first step.


At step 1 the Sampler node shows the final preview from the last generation.

flux1

From Step 2 onwards, the preview works correctly. 

flux3

flux6

Steps to Reproduce

Tested on the Flux example workflows. The preview method is set to "Auto", in the Manager.

Debug Logs

( No errors are shown in the terminal )

Other

No response

JorgeR81 avatar Aug 03 '24 12:08 JorgeR81

I also experience this phenomenon occasionally. It seems to be occurring since the introduction of async to the preview.

ltdrdata avatar Aug 03 '24 15:08 ltdrdata

This seems to be fixed now.

Also, after this commit ( https://github.com/comfyanonymous/ComfyUI/commit/1770fc77ed91348f4060e3c0b040c1519d6f91d0 ) I added the taef1 files, and the Flux preview was greatly improved.

https://github.com/madebyollin/taesd

JorgeR81 avatar Aug 16 '24 18:08 JorgeR81