huggingface / huggingface/diffusers

SD3 inpaint pipeline can not use EulerA scheduler. bug: The `scale_model_input` function should be called before `step` to ensure correct denoising.

Aperta
#9,084 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug stale
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

### Describe the bug

SD3 inpaint pipeline can not use EulerA scheduler.

### Reproduction

```python
pipe = StableDiffusion3InpaintPipeline.from_pretrained(xxx)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)

# then run the pipe
out_images = pipe(
prompt=caption,
image=input_image,
mask_image=input_mask, ).images
```

### Logs

```shell
The `scale_model_input` function should be called before `step` to ensure correct denoising. See `StableDiffusionPipeline` for a usage example.
```

### System Info

torch: 2.0.0 + cu117
diffusers: commit_id: `41b705f42db6ce43bbcb41bd2cefd479d8b73774`

### Who can help?

_No response_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with StableDiffusion3InpaintPipeline and trace its denoising loop, then compare the scheduler usage with the StableDiffusionPipeline example named in the warning. Reproduce the issue using EulerAncestralDiscreteScheduler and confirm that the pipeline performs the required input scaling before stepping without the warning.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, pytorch
Ambito
machine-learning
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.