Replies: 2 comments 2 replies
-
I have also noticed this issue and feel that the problem lies with sampling. And even some advanced technologies, such as https://github.com/lllyasviel/Omost/blob/731e74922fc6be91171688574d07624f93d3b658/gradio_app.py#L64 give up diffusers sampling. |
Beta Was this translation helpful? Give feedback.
-
@peki12345 @nducthang I'm a bit late to this discussion, I'm only replying as I did have issues in the past with a supposed scheduler in diffusers acting differently to its equivalent in k-diffusers. It can be hard to reconcile those differences since the way schedulers in diffusers are implemented is different to other libs. Because of that I wrote a proof-of-concept repo which "closures" the backbone and makes it possible to pass directly to a k_diffusion sampler. That could be useful either if you want to debug one of those algorithms against an equivalent in diffusers, or if you want to bypass it completely and delegate to external code. Happy to accept PRs to steer it more towards a library which can be used to directly compare an implementation in diffusers vs k_diffusion. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm encountering an issue when comparing the quality of ComfyUI and Diffusers. I've noticed that the output of Diffusers is consistently lower than ComfyUI in many cases, despite using the same settings and seed. For the base Diffusers, I've utilized: https://github.com/huggingface/diffusers/blob/main/examples/community/lpw_stable_diffusion_xl.py.
Upon closer inspection, I've identified differences in the scheduler/ksampler between the two base codes. I've also observed variations in CLIP Embedding between the two base codes, but in my experiments, this hasn't significantly impacted the output. The main issue seems to lie with the KSampler.
Has anyone else encountered this issue or have any ideas on improving the Scheduler algorithm of Diffusers?
Here are some prompts I've experimented:
Model: RVXL - Size: (896, 1152)
Positive prompt:
Negative prompt:
Beta Was this translation helpful? Give feedback.
All reactions