The different quality between ComfyUI and Diffusers ? #9265
Replies: 3 comments
-
You're not providing any code, we don't even know if you're using their repo or the community pipeline or at least which model you're using. Also the images are really small to tell a difference, better if you post the actual generations. Finally, this is the most important part:
The way you're phrasing this is that you're not sure? At the end of the day, if an image is better or not depends on the person that's looking, the images are really small for me to tell for sure, but I think the diffusers ones look more realistic and the comfyui ones more fake and plastic, but that just means that you like more the "smooth" kind of images. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply, Firstly, if u want to reproduce images, you can follow these steps:
Otherwise, I have tested sufficient images to compare:
I guarantee that the result is not cherry-picked. I found that the similarity of the Comfy code is better. I explored the differences between the two approaches and realized the problem comes from the way they apply Cross Attention. However, I experimented with the impact of the IP adapter in InstantID and found it to be not significant. I wonder if the reason might be due to the Sampler used in the two methods? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the follow up, I was asking for real sized images because it will take time for me to install everything and test it, and I can't do that if this isn't a issue with diffusers. I tried your I get these images:
They don't look bad and are totally different to what you get, probably because of the model you're using which is for realistic images. In this case, since you have in your prompt this: Also you have something weird happening with the aspect ratios, the ComfyUI ones gets cropped but the diffusers ones seems to get stretched. There was an issue with the DPM scheduler that was fixed in the 0.26 release if that's what you're using, but apart from that, the samplers pretty much have the same quality than ComfyUI or Automatic1111. Since you're using an external repo, and one that uses an old version of diffusers (0.25) you'll get better answers there, we can't really provide support for external libraries that use custom code that is not maintained by us, still I'll test this when I have time because I'm intrigued, but sadly it won't be soon. |
Beta Was this translation helpful? Give feedback.
-
I had a problem using InstantID (https://github.com/instantX-research/InstantID), which uses Diffusers as its base. Additionally, I tried ComfyUI (https://github.com/cubiq/ComfyUI_InstantID), and the quality of the images improved better I think.
I discussed this with Cubiq, and he mentioned that there are no differences in how they applied the IP Adapter (cubiq/ComfyUI_InstantID#206).
Can you explain this issue to me? Perhaps it’s related to the Sampler in ComfyUI and Diffusers.
Beta Was this translation helpful? Give feedback.
All reactions