huggingface / huggingface/diffusers
[0.27.2]: from_single_file: 'AutoencoderKL' object has no attribute '__name__'. Did you mean: '__ne__'?
- Vorherrschende Sprache
- Python
- Sterne
- 34.5k
- Forks
- 7.3k
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### Describe the bug
finetune a dreambooth model with ED2 but can't load with 0.27.2
the model work with a1111
### Reproduction
pipe.from_single_file
https://huggingface.co/crapthings/diffusers-issue/resolve/main/base-ed2.safetensors
### Logs
_No response_
### System Info
pip install diffusers==0.27.2
### Who can help?
_No response_
Beitragsleitfaden
Rechercherichtung
Start by reproducing the failure with diffusers==0.27.2 using pipe.from_single_file and the linked base-ed2.safetensors model. Trace the path involving the AutoencoderKL object and the reported __name__ access, then compare the failing load with the stated working behavior in a1111. Done means the ED2 model loads through from_single_file without this AttributeError.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, pytorch
- Bereich
- machine-learning
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100