huggingface / huggingface/diffusers

StableDiffusionUpscaleLDM3DPipeline object has no attribute 'upcast_vae'

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

説明

### Describe the bug

[miniconda3/lib/python3.12/site-packages/diffusers/configuration_utils.py:143](https://vscode-remote+ssh-002dremote-002b10-002e155-002e234-002e172.vscode-resource.vscode-cdn.net/data2/miniconda3/lib/python3.12/site-packages/diffusers/configuration_utils.py:143), in ConfigMixin.__getattr__(self, name)
[140](https://vscode-remote+ssh-002dremote-002b10-002e155-002e234-002e172.vscode-resource.vscode-cdn.net/data2/miniconda3/lib/python3.12/site-packages/diffusers/configuration_utils.py:140) deprecate("direct config name access", "1.0.0", deprecation_message, standard_warn=False)
[141](https://vscode-remote+ssh-002dremote-002b10-002e155-002e234-002e172.vscode-resource.vscode-cdn.net/data2/miniconda3/lib/python3.12/site-packages/diffusers/configuration_utils.py:141) return self._internal_dict[name]
--> [143](https://vscode-remote+ssh-002dremote-002b10-002e155-002e234-002e172.vscode-resource.vscode-cdn.net/data2/miniconda3/lib/python3.12/site-packages/diffusers/configuration_utils.py:143) raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")

AttributeError: 'StableDiffusionUpscaleLDM3DPipeline' object has no attribute 'upcast_vae'

### Reproduction

The code has commented 'upcast_vae'

### Logs

_No response_

### System Info

0.28.0

### Who can help?

_No response_

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

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

調査の方向性

StableDiffusionUpscaleLDM3DPipeline のエントリーポイントから始め、configuration_utils.py の 143 行目付近で報告された失敗を調査してください。diffusers 0.28.0 で AttributeError を再現し、その後、なぜパイプラインがコメントアウトされた「upcast_vae」へのアクセスに到達するのかを追跡してください。報告された再現手順で、パイプラインがこの属性欠落エラーを発生させなくなれば完了です。

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

評価

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

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

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