mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-14 12:55:05 -05:00
Upstream bug in `transformers` breaks use of `AutoModelForMaskGeneration` class to load SAM models Simple fix - directly load the model with `SamModel` class instead. See upstream issue https://github.com/huggingface/transformers/issues/38228
9.0 KiB
9.0 KiB