huggingface / huggingface/diffusers

[0.27.2]: from_single_file: 'AutoencoderKL' object has no attribute '__name__'. Did you mean: '__ne__'?

オープン
#8,320 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug stale
主要言語
Python
スター
34.5k
フォーク
7.3k
平均マージ
3日 3時間
マージ済み PR(30日)
91

説明

### 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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, pytorch
領域
machine-learning
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。