Comfy-Org / Comfy-Org/ComfyUI

ComfyUI cascade stage b implementation introduces artifacts

Open
#5,297 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

The two images below were generated using the same stage c conditioning latents, and the same sampler/scheduler (euler, simple, 10 steps). The first image was generated using ComfyUI, the 2nd image using the native diffusers stage b implementation. This behaviour appears consistently across different samplers, schedulers and with different stage c conditioning. Using the diffusers implementation of stage a to decode ComfyUI stage b output latents does produce artifacts, suggesting that the issue is specifically in the stage b implementation, not stage a.

![comfyui](https://github.com/user-attachments/assets/7214d9f2-9cb3-4a8d-98ee-b737a0a82ca8)
![diffusers](https://github.com/user-attachments/assets/511c5066-2aea-47a4-89f5-dc5bfb1d093e)

Comfy workflow and example latents (had to zip, github doesn't like the format)
[workflow_test.json](https://github.com/user-attachments/files/17450497/workflow_test.json)
[test_latent.zip](https://github.com/user-attachments/files/17450501/test_latent.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.