Open Aljnk opened 4 months ago
downgrade diffusers to 0.28.2 should fix it.
Importing DualTransformer2DModel
from diffusers.models.dual_transformer_2d
is deprecated and this will be removed in a future version. Please use from diffusers.models.transformers.dual_transformer_2d import DualTransformer2DModel
File: ...\ComfyUI\custom_nodes\ComfyUI-AniPortrait\src\models\unet_2d_blocks.py Line 9:
from diffusers.models.dual_transformer_2d import DualTransformer2DModel
Throw Exception: No module named 'diffusers.models.dual_transformer_2d'
I see this model inside
diffusers\models\transformers
folderfrom diffusers.models.TRANSFORMERS.dual_transformer_2d... - works