ホーム 暮らし [ComfyUI] What to do if you get 'Florence2ForConditionalGeneration' object has no attribute '_supports_sdpa' when using Florence2

[ComfyUI] What to do if you get 'Florence2ForConditionalGeneration' object has no attribute '_supports_sdpa' when using Florence2

三浦 拓海 三浦 拓海 • 更新: • 公開: • 読了約 2 分
目次
n0783a6fc39d2

August 2025 When updating to the latest version of ComfyUI (strictly speaking, from a version slightly earlier), the following error may appear when using Florence2.

As mentioned in the git issue, you can resolve this by matching the version of a specific library.

Open the manager and select "install PIP packages".

Enter "transformers==4.49.0", press Confirm, and restart after installation.

It will then start working without any issues.

If you encounter a similar phenomenon, please give this a try.

同じカテゴリの記事

三浦 拓海
コンテンツディレクター 三浦 拓海
プロフィールを見る →

映画と連続ドラマの公開情報を追う担当。配給会社のプレスシートと公式サイトの発表日を確認したうえで執筆します。

おすすめの関連記事