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.
- Vorherrschende Sprache
- Python
- Sterne
- 34.5k
- Forks
- 7.3k
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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_
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, pytorch
- Bereich
- machine-learning
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100