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.
- 主要言語
- Python
- スター
- 34.5k
- フォーク
- 7.3k
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 91
説明
### 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_
コントリビューションガイド
調査の方向性
StableDiffusion3InpaintPipeline から始めて、その denoising ループを追跡し、次に warning で言及されている StableDiffusionPipeline の例と scheduler の使用方法を比較します。EulerAncestralDiscreteScheduler を使用して問題を再現し、warning なしで pipeline がステップ実行前に必要な入力スケーリングを行うことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, pytorch
- 領域
- machine-learning
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100