Comfy-Org / Comfy-Org/ComfyUI

Understanding Sampling from a background in diffusers

Open
#6,775 7 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Your question

Hello, I'm a researcher interested in implementing a ComfyUI node for a paper technique. My understanding of how things works are all based in diffusers library and usually the sampling is done as shown [here](https://github.com/huggingface/diffusers/blob/7fb481f840b5d73982cafd1affe89f21a5c0b20b/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py#L1229 ) which is very easy to understand. However, after digging in ComfyUI's samplers related code for a while, I cannot find the equivalent to the sampling pipleline presented in diffusers. Would be much appreciated if anyone can point me to the counterpart of this sampling process I'm familiar with in diffusers.

### Logs

```powershell

```

### Other

_No response_

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.